On Thursday 07 August 2003 03:31, Guillaume Rousse wrote:
> 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.

Documenting this format somewhere should be done before enforcing it 
with rpmlint.

-- 

Micha�l Scherer


Reply via email to