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