packages: dev/dev.spec - Release 5.   Set attr(666, root,	root)  /dev/shm   H...
    Jacek Konieczny 
    jajcus w jajcus.net
       
    Pią, 21 Maj 2010, 12:27:16 CEST
    
    
  
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
    
    
Więcej informacji o liście dyskusyjnej pld-devel-pl