packages: dev/dev.spec - Release 5. Set attr(666, root, root) /dev/shm H...

Jacek Konieczny jajcus at jajcus.net
Fri May 21 12:27:16 CEST 2010


On Fri, May 21, 2010 at 09:09:23AM +0200, Jakub Bogusz wrote:
> > -%dir /dev/shm
> > +%attr(666,root,root) %dir /dev/shm
> 
> 666 for dir?!

Insane, indeed. Evil even ;)

> Also wrong, allows foreign files to be deleted by everyone.
> 
> fstab setting is 1777.

Yes. And that is ok only when tmpfs is actually mounted there. We don't
want this a place for any user to fill-up the root partition.

Standard 0755 looks ok to me for the dev package contents (the SHM mount
point).

Greets,
        Jacek


More information about the pld-devel-en mailing list