On Nov 18, 2008, at 10:18 AM, Chad McKay wrote:
1.      Make the rdiff-backup-data and increments dirs readable for all
users

That's being controlled by the process umask. Rdiff-backup sets its umask to 077 in Main.py in the misc_setup function.

If you want to only adjust the permissions on the rdiff-backup-data and increments directories, then look to Main.py::backup_set_rbdir() for rdiff-backup-data (change the one-line "if not Globals.rbdir.lstat(): Globals.rbdir.mkdir()" to a multi-line if-block and add a "Globals.rbdir.chmod(...)" after the mkdir) and Main.py::backup_final_init() for increments (again, change the one line "if not incdir.lstat(): incdir.mkdir()" to a multi-line and add a chmod).



Andrew


_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to