On Sat, Sep 19, 2009 at 03:23:17PM +0200, Christoph Anton Mitterer wrote:

> The base-files postinst sets the permission on /var/log/btmp to 664.
> /etc/logrotate.conf however sets them to 660 (at least after first
> roataion).
> 
> Not sure if this is a "bug" here or in base-files,.. I think however
> that both should be aligned.

/var/log/btmp is a log of failed login attempts.

I'd suspect that base-files may be wrong in setting the permissions too
loosely.

The change came in logrotate 3.7.1-4. Upstream has permissions 600.

logrotate (3.7.1-4) unstable; urgency=high

  * Change default logrotate.conf to use permission 660 for
    /var/log/btmp. (Closes: #370050)


See also:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=370050
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326028

-- 
Paul Martin <[email protected]>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to