mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 03:09:22 +01:00
gayming/playstation2/backup-ops2l-vmc.bash: add chmod 777 for helping with restore
This commit is contained in:
parent
e176335c39
commit
14101546d3
@ -12,6 +12,10 @@ mkdir -p $BACKUPDIR
|
|||||||
# playing or running this script during the problem hours
|
# playing or running this script during the problem hours
|
||||||
cp -rv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M)"
|
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
|
# Curiosity, show the space used
|
||||||
du -hc --time $BACKUPDIR
|
du -hc --time $BACKUPDIR
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user