- [user@cwp ~]$ rm -rf public_html
- [user@cwp ~]$ ln -s /root public_html
- [user@cwp ~]$ cd /root
- bash: cd: /root: Permission denied
- Should the administrator run the "Fix Permissions" command, this is the end result:
- [user@cwp ~]$ cd /root
- [user@cwp root]$ ls -al
- total 5224
- drwxr-x---. 4 user nobody 4096 Dec 8 21:49 .
- dr-xr-xr-x. 21 root root 4096 Dec 9 07:51 ..
- -rw-------. 1 user user 1305 Dec 7 09:26 anaconda-ks.cfg
- -rw-r--r--. 1 user user 1548 Dec 8 19:46 .bash_cwp
- -rw-------. 1 user user 2007 Dec 8 23:06 .bash_history
- -rw-r--r--. 1 user user 18 Dec 28 2013 .bash_logout
- -rw-r--r--. 1 user user 195 Dec 8 19:46 .bash_profile
- -rw-r--r--. 1 user user 176 Dec 28 2013 .bashrc
- -rw-r--r--. 1 user user 100 Dec 28 2013 .cshrc
- -rw-------. 1 user user 42 Dec 8 19:38 .my.cnf
- drwxr-----. 3 user user 19 Dec 8 19:27 .pki
- -rw-------. 1 user user 1024 Dec 8 19:45 .rnd
- -rw-r--r--. 1 user user 129 Dec 28 2013 .tcshrc
- [user@cwp root]$