[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: correct perms for logcheck config files?



Matt Zimmerman wrote:
> The most inconvenient bit, to me, is that it breaks path completion when
> editing these files with sudo.
> 
> sudo vi /etc/logcheck/ignore.d/<tab>...<tab>...<swear>

Yes, that was annoying.

> Presumably the usual dpkg directory permissions semantics.  I forget who
> wins; the most recent maybe?  At any rate, they're all unreadable on the
> systems that I checked.

dpkg takes the brain-dead approach of using the earliest directory
permission. There was a thread once about changing this. In the
meantime, whenever you change a directory permission you should try to
do something sane in your postinst. In the case of logcheck, it's hard
to say what's sane, since the admin may have came to rely on 700.

-- 
see shy jo

Attachment: pgpVHXaTiMWDB.pgp
Description: PGP signature


Reply to: