On Thursday 16 March 2006 21:01, Martin Simmons wrote: > >>>>> On Thu, 16 Mar 2006 09:57:55 +0100, Kern Sibbald <[EMAIL PROTECTED]> > >>>>> said: > > > > Hello Scott, > > > > I think we are having a few problems with directory permissions on the > > Bacula working directory, which for the rpm is /var/bacula. I think we > > need some changer in the configuration code to fix it, because currently > > all three daemons use the same directory, which is fine from a Bacula > > stand point, but from a permissions stand point, it won't work unless > > someone has a good idea. > > > > The problem is that the running permissions of Bacula are: > > > > Daemon User Group > > Dir bacula bacula > > FD root root (I think) > > SD bacula disk > > > > I was thinking about having a separate subdirectory > > (/var/bacula/dir-working, ...) for each daemon, but in looking at the > > above table, it seems to me that the solution is simply to change the > > owner from the default, which is root to bacula. That should allow all > > daemons to access it with no changes after installing the rpm. > > > > What do you (or anyone else) think? > > Perhaps /var/bacula should have uid bacula? The permissions could be 0700 > and that will allow the Dir and SD to write (and of course the FD can, > running as root).
Yes, thanks for your comments, which help confirm my idea. I've just modificated the source code so that when the directory is created and the ./configure has given either a dir_user or dir_group, the directory takes on the appropriate owner and/or group. With that, I think everything should work. Hopefully, no one will find any downsides to this. Best regards, Kern ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users