Ainsi parlait Buchan Milne :
> Guillaume Rousse wrote:
> > Ainsi parlait Ben Reser :
> >>Perms on any file in /etc/rc.d/init.d should be 0700.  rpmlint should
> >>test for this.
> >
> > Same goes for other directories as
> > /etc/X11/xinit.d
> > /etc/X11/wmsession.d
> > /etc/profile.d
> > etc... (basically, all *.d directories in etc)
>
> No, not pam.d, httpd/conf.d, xinetd.d, logrotate.d, sane.d, makedev.d at
> least, maybe also lvmtab.d
Why ?

All those directories exist for the purpose of dropping files there, which are 
expected to share a common format. For instance, all files in httpd/conf.d 
should have their filename beginning by a number. Enforcing this format is 
perfectly suited for rpmlint.
-- 
Guillaume Rousse
The magnitude of the goof is in direct proportion to the cost of the fabric
                -- Murphy's Laws of Sewing n�10


Reply via email to