On Fridayen den 7 December 2001 15.52, Borsenkow Andrej wrote: > > Hi, > > > > I have noticed that when updating a package, I don't know which one > > yet, > > > that's why I'm asking..., "unknown" sub directories in /var/log/ gets > > owned > > > by root. This is terrible because I have for example my qmail logs in > > there, > > > and they are owned by "qmaill", as in: > > > > cat /service/qmail/log/run > > #!/bin/sh > > PATH="/sbin:/usr/sbin:/bin:/usr/bin:/var/qmail/bin:/usr/local/bin:$PATH" > > > exec setuidgid qmaill multilog t /var/log/qmail > > > > Who's changing owner on /var/log ? > > cd /etc/security/msec > grep /var/log * >
ARGHHHHHHHH! I should have guessed... I wonder if I should contribute with a "msec" patch or simply move the logs elsewhere... I just checked Vincents qmail setup: UID: qmaill GID: nofiles /var/log/qmail /var/log/qmail/pop3d /var/log/qmail/qmqpd /var/log/qmail/smtpd and that's almost the same as mine: /var/log/qmail /var/log/pop3d /var/log/qmqpd /var/log/qmtpd /var/log/smtpd Thanks Andrej for pointing me in the right direction this fast (I just woke up:))! -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden. | Mandrake Linux release 8.2 (Cooker) for i586 | Current uptime with kernel 2.4.16.3mdk-1-1mdksmp: 23 hours 46 minutes | cpu0 @ 814.28 bm, fan 4411 rpm, temp +30�C | cpu1 @ 815.92 bm, fan 4272 rpm, temp +29.5�C
