On Dec 6, 2008, at 3:20 AM, Jari Fredriksson wrote:

>>
>> - One problem I haven't found a solution to is that the
>> /var/run
>> directory where the pid file goes is only writable by
>> root.
>>
>
> /var/run/bacula is the directory where my bacula writes the pid. Its  
> owned by bacula.

It does not have to be owned by bacula.

[EMAIL PROTECTED]:~] $ ps auwx | grep bacula-dir
bacula   8279  0.0  0.4  8820  4196  ??  Ss   11Oct08   2:03.97 /usr/ 
local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc

Running as Bacula.

[EMAIL PROTECTED]:~] $ ls -l /var/run/bacula-dir.9101.pid
-rw-r-----  1 root  wheel  5 Oct 11 21:33 /var/run/bacula-dir.9101.pid
[EMAIL PROTECTED]:~] $

PID is owned by root, as it should be.  This is proper behaviour.

-- 
Dan Langille
http://langille.org/




------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to