backup-ops2l-vmc.bash: verbose chmod

This commit is contained in:
Aminda Suomalainen 2024-10-04 19:17:49 +03:00
parent 6104f90c81
commit d0a7dbd4a7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -13,9 +13,9 @@ mkdir -p $BACKUPDIR
cp -arv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M%S)" cp -arv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M%S)"
# Samba is fun with permissions # Samba is fun with permissions
chmod -R 777 $VMCDIR/.. chmod -Rv 777 $VMCDIR/..
chmod -R 777 $VMCDIR chmod -Rv 777 $VMCDIR
chmod -R 777 $BACKUPDIR chmod -Rv 777 $BACKUPDIR
# If duperemove is installed, perform FS based deduplication of backups # If duperemove is installed, perform FS based deduplication of backups
if hash duperemove 2> /dev/null; then if hash duperemove 2> /dev/null; then