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
Raw Normal View History

2023-08-08 16:24:15 +03:00
# 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 {} \;"