1
0
Fork 0
scripts/helios/permissions-storage.sh

6 lines
193 B
Bash
Raw Permalink Normal View History

2021-08-12 15:53:34 +00:00
#!/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