Template:egChmodAll

From RaySoft

Syntax

{{egChmodAll}}

Usage

Code

{{egChmodAll}}

Result

Change all permissions in the user's home directory
find "${HOME}" '(' -type 'd' -execdir chmod --changes 0700 '{}' '+' ')' \
           -or '(' -type 'f' -execdir chmod --changes 0600 '{}' '+' ')'