This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/bash/module/permissions.sh

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 {} \;"