hot-backup.py and umask
From: Simon McClenahan <smcclenahan_at_healthcompartners.com>
Date: 2004-06-21 18:23:15 CEST
I run hot-backup.py on my repositories as root. All of a sudden, a repository became inaccessible due to the db log file not having svn group write permissions. The solution is to (temporarily) change to umask 002 for the hot-backup.py command, or to use the setgid wrapper scripts often mentioned on this list for the command "svnadmin hotcopy --clean-logs". But the svnadmin command path is hard-coded (after building) in the script.
Have we currently nailed down the best way to implement the setgid wrappers on UNIX? Can it please be part of the build/install process? Just when I thought I had everything stable, the backup procedure suddenly throws things for a loop!
cheers,
--------------------------
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.