From 14101546d30ab8887869c07893f5e254144a05ab Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 18 Mar 2023 13:44:05 +0200 Subject: [PATCH] gayming/playstation2/backup-ops2l-vmc.bash: add chmod 777 for helping with restore --- gayming/playstation2/backup-ops2l-vmc.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gayming/playstation2/backup-ops2l-vmc.bash b/gayming/playstation2/backup-ops2l-vmc.bash index 4fa5992..f6001cd 100755 --- a/gayming/playstation2/backup-ops2l-vmc.bash +++ b/gayming/playstation2/backup-ops2l-vmc.bash @@ -12,6 +12,10 @@ mkdir -p $BACKUPDIR # playing or running this script during the problem hours cp -rv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M)" +# Samba is fun with permissions +chmod -R 777 $VMCDIR +chmod -R 777 $BACKUPDIR + # Curiosity, show the space used du -hc --time $BACKUPDIR