2024-10-11 23:27:07 +03:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
text = ''
|
|
|
|
# Recursively change permissions to allow read sharing with group and others.
|
|
|
|
function perm_share() {
|
|
|
|
find . -type d -exec chmod 755 {} \;; find . -type f -exec chmod 644 {} \;
|
|
|
|
}
|
2024-04-06 03:03:58 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# Recursively change permissions to restrict access for group and others.
|
|
|
|
function perm() {
|
|
|
|
find . -type d -exec chmod 700 {} \;; find . -type f -exec chmod 600 {} \;
|
|
|
|
}
|
|
|
|
'';
|
2024-04-06 03:03:58 +03:00
|
|
|
}
|