Add scripts from helios
This commit is contained in:
parent
f0e8c19397
commit
041861f7b4
4 changed files with 103 additions and 0 deletions
5
helios/permissions-storage.sh
Normal file
5
helios/permissions-storage.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
find /mnt/storage/backuphdd -type f -print0 | xargs -0 chmod 0640
|
||||
find /mnt/storage/backuphdd -type d -print0 | xargs -0 chmod 0750
|
||||
chown -R root:root /mnt/storage/backuphdd
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue