gokrazy / rsync

gokrazy rsync
BSD 3-Clause "New" or "Revised" License
517 stars 32 forks source link

rsync changing folder permissions #32

Open BrunoTeixeira1996 opened 1 month ago

BrunoTeixeira1996 commented 1 month ago

Hi was using the permanent data backup mechanism to backup stuff from my gokrazy to my NAS. However I verified that when I performed the command rsync -av --delete -e ssh rsync://waiw-backup/waiw /mnt/external/gokrazy_backup/waiw_backup I got an exit status of 23 saying permission denied.

I found that since I was using the flag --delete the destination folder has to have rwx perms so to fix this I used rsync -av --delete --chmod=ugo=rwx -e ssh rsync://waiw-backup/waiw /mnt/external/gokrazy_backup/waiw_backup

I was wondering if this was a good thing to add to the docs in gokrazy!