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

Jakub Bogusz qboosh w pld-linux.org
Pią, 21 Maj 2010, 17:44:44 CEST


On Fri, May 21, 2010 at 04:06:20PM +0200, Mateusz Korniak wrote:
> On Friday 21 of May 2010, Jacek Konieczny wrote:
> > > 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).
> 
> I wish I could avoid scenario:
> I have working mounted /dev/shm (1777) and I do update o dev package which 
> changes permissions back do default, breaking any application using shm :/
> Any solutions ?

Add /dev/shm to _netsharedpath (or how it is called, I don't remember
exactly now)?


-- 
Jakub Bogusz    http://qboosh.pl/


Więcej informacji o liście dyskusyjnej pld-devel-pl