permission denied as root, trying to mount WTF!
Hi Guys,
Basically I've tried this as root(!):
mount --bind /var/www/dir_1 /home/user/public_html/dir_1
I get permission denied! WTF!!
Both directories have the same owner and proper permissions.
vs2817:/home/tiberiu/public_html# ls -la /home/tiberiu/public_html/website.tld/
total 8
drwxr-xr-x 2 tiberiu www-data 4096 2012-04-04 13:00 .
drwxr-xr-x 3 tiberiu sftponly 4096 2012-04-04 13:00 ..
vs2817:/home/tiberiu/public_html# ls -la /var/www/kleral-romania.ro/
total 216
drwxr-xr-x 5 tiberiu www-data 4096 2012-04-02 17:29 .
drwxr-xr-x 4 root root 4096 2012-03-29 10:04 ..
-rw-rw-r-- 1 tiberiu www-data 397 2008-05-25 22:33 index.php
-rw-rw-r-- 1 tiberiu www-data 16899 2011-06-08 20:18 license.txt
-rw-rw-r-- 1 tiberiu www-data 9202 2012-01-03 18:01 readme.html
-rw-rw-r-- 1 tiberiu www-data 4268 2011-10-20 16:40 wp-activate.php
drwxrwxr-x 9 tiberiu www-data 4096 2012-01-03 21:53 wp-admin
-rw-rw-r-- 1 tiberiu www-data 40272 2011-10-28 17:48 wp-app.php
-rw-rw-r-- 1 tiberiu www-data 274 2010-11-20 22:44 wp-blog-header.php
-rw-rw-r-- 1 tiberiu www-data 3982 2011-09-30 19:18 wp-comments-post.php
-rw-rw-r-- 1 tiberiu www-data 3165 2012-04-02 17:29 wp-config.php
-rw-rw-r-- 1 tiberiu www-data 3177 2010-11-01 15:45 wp-config-sample.php
drwxrwxr-x 4 tiberiu www-data 4096 2012-01-03 21:53 wp-content
-rw-rw-r-- 1 tiberiu www-data 2684 2011-09-09 21:59 wp-cron.php
drwxrwxr-x 8 tiberiu www-data 4096 2012-01-03 21:53 wp-includes
-rw-rw-r-- 1 tiberiu www-data 1997 2010-10-23 14:17 wp-links-opml.php
-rw-rw-r-- 1 tiberiu www-data 2546 2011-11-15 16:47 wp-load.php
-rw-rw-r-- 1 tiberiu www-data 27695 2011-11-23 08:03 wp-login.php
-rw-rw-r-- 1 tiberiu www-data 7777 2011-08-05 18:57 wp-mail.php
-rw-rw-r-- 1 tiberiu www-data 413 2011-09-19 06:17 wp-pass.php
-rw-rw-r-- 1 tiberiu www-data 334 2010-12-09 19:02 wp-register.php
-rw-rw-r-- 1 tiberiu www-data 9913 2011-10-18 21:37 wp-settings.php
-rw-rw-r-- 1 tiberiu www-data 18545 2011-11-15 21:44 wp-signup.php
-rw-rw-r-- 1 tiberiu www-data 3702 2010-02-24 21:13 wp-trackback.php
-rw-rw-r-- 1 tiberiu www-data 3266 2011-04-17 10:35 xmlrpc.php
|