6 lines
336 B
Bash
6 lines
336 B
Bash
# recursively change permissions to allow read sharing with group and others.
|
|
alias perm_share="find . -type d -exec chmod 755 {} \;; find . -type f -exec chmod 644 {} \;"
|
|
|
|
# recursively change permissions to restrict access for group and others.
|
|
alias perm="find . -type d -exec chmod 700 {} \;; find . -type f -exec chmod 600 {} \;"
|