This Easy-Guide will Lead you to Correctly Set Permissions on Files and Directories…
- Open a Terminal Session
- Login as the Root User:
su root
To set permissions for Directories:
find path/To/Root/Directory -type d -print0 | xargs -0 chmod 755
To set permissions for Files:
find path/To/Root/Directory -type f -print0 | xargs -0 chmod 744