mount: mount as 777 for max compat

for cifs, file_mode can be 666
This commit is contained in:
Girish Ramakrishnan
2021-06-20 22:36:23 -07:00
parent 90657af7f2
commit 87c22a4670
2 changed files with 3 additions and 2 deletions

View File

@@ -34,5 +34,6 @@ systemctl daemon-reload
# systemd can automatically create the "where" dir but the backup logic relies on permissions
mkdir -p "${where}"
chown yellowtent:yellowtent "${where}" || true # this can fail with nfs+root_squash
chmod 777 "${where}" # this allows all users to read and write
systemctl enable --no-block --now "${mount_filename}" || true