From: Timothy Stella
Subject: [rdiff-backup-users] Have rdiff-backup not preserve permissions?
Date: Fri, 1 Mar 2013 09:57:28 -0800
I'm currently having a problem with rdiff-backup backing up some data. It's running into really weird permissions issues.
I am using rdiff-backup 1.2.8 on CentOS pulling from rdiff-backup 1.2.8 on Cygwin (winxp) like so:
backup@ centos$rdiff-backup -v6 address@hidden::/cygdrive/c/files/ /mnt/backups/winserver/files/
I have it backing up a directory -- the first time the backup runs, everything is fine. The second time, however, I get permission issues with the local copy (the directory I am backing up to).
I tried to remedy this by adding a chmod -R u+rwx at the end of my script, but it doesn't seem to help.
I also tried to set the directory to 777 just to see if it'd work, and it still fails. However, running the backup as root does work.
It is also worth noting that other directories (separate rdiff-backup runs) for that same server are working without issue.
I tried to look up if I can have rdiff-backup just ignore the remote (in this case, winserver) permissions but it doesn't seem possible. Is there any way for me to get around this other than running that one directory as root?