backup-ops2l-vmc.bash: chmod .. too

This commit is contained in:
Aminda Suomalainen 2023-03-23 15:57:29 +02:00
parent 48b0722023
commit 8774751e39
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -13,6 +13,7 @@ mkdir -p $BACKUPDIR
cp -arv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M)"
# Samba is fun with permissions
chmod -R 777 $VMCDIR/..
chmod -R 777 $VMCDIR
chmod -R 777 $BACKUPDIR