sets ownership and permissions for backup directories
This commit is contained in:
parent
fb9219719d
commit
f289c12223
@ -18,6 +18,11 @@ let
|
|||||||
chmod 755 /mnt/services/proxy
|
chmod 755 /mnt/services/proxy
|
||||||
chmod 755 /mnt/services/static-websites
|
chmod 755 /mnt/services/static-websites
|
||||||
|
|
||||||
|
chown menno:users /mnt/backups/photos
|
||||||
|
chown menno:users /mnt/backups/services
|
||||||
|
chmod 775 /mnt/backups/photos
|
||||||
|
chmod 775 /mnt/backups/services
|
||||||
|
|
||||||
# Set permissions for other mount points
|
# Set permissions for other mount points
|
||||||
for dir in /mnt/{ai,astrophotography,audiobooks,downloads,ISOs,movies,music,old_backups,photos,stash,tvshows,VMs}; do
|
for dir in /mnt/{ai,astrophotography,audiobooks,downloads,ISOs,movies,music,old_backups,photos,stash,tvshows,VMs}; do
|
||||||
chmod 755 "$dir"
|
chmod 755 "$dir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user