rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] File nameing tweaks possible?


From: Andrew Ferguson
Subject: Re: [rdiff-backup-users] File nameing tweaks possible?
Date: Tue, 18 Nov 2008 13:10:33 -0500


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]