cd /home/username
rm public_html
ln -s /mnt/username-public_html public_html
cd domains/example.com
mv public_html/* /mnt/username-public_html
rmdir public_html
ln -s /mnt/username-public_html public_html
[root@srv2 backup]# chmod 777 test
chmod: changing permissions of `test' (requested: 0777, actual: 0755): Operation not permitted
[root@srv2 backup]#
I don't know .sander815 said:Code:[root@srv2 backup]# chmod 777 test chmod: changing permissions of `test' (requested: 0777, actual: 0755): Operation not permitted [root@srv2 backup]#
whys that?
same with chown
[root@srv2 backup]# pwd
/mnt/backup
[root@srv2 backup]# chmod 777 hent/
chmod: changing permissions of `hent/' (requested: 0777, actual: 0755): Operation not permitted
[root@srv2 backup]#
[root@srv2 backup]# ls -al
total 20
drwxr-xr-x 5 root root 4096 Dec 31 19:16 .
drwxr-xr-x 4 root root 4096 Dec 31 17:20 ..
drwxr-xr-x 4 root root 4096 Dec 31 17:42 hent
drwxr-xr-x 2 root root 4096 Dec 31 19:16 test
[root@srv2 backup]#