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

Jakub Bogusz qboosh at pld-linux.org
Fri May 21 09:09:23 CEST 2010


On Fri, May 21, 2010 at 09:00:49AM +0200, matkor wrote:
> Author: matkor                       Date: Fri May 21 07:00:49 2010 GMT
> Module: packages                      Tag: HEAD
> ---- Log message:
> - Release 5.
>   Set attr(666,root,root)  /dev/shm
>   Having mounted /dev/shm with defualts from  /etc/fstab and upgrading dev
>   results in permision change resulting apps using shmem to get privs error

> @@ -170,7 +170,7 @@
>  %attr(660,root,video) /dev/radio
>  %attr(660,root,audio) /dev/sequencer2
>  %attr(600,root,root) /dev/sg[0-7]
> -%dir /dev/shm
> +%attr(666,root,root) %dir /dev/shm
>  %dir /dev/snd
>  %attr(660,root,video) /dev/vbi
>  %attr(660,root,video) /dev/video

666 for dir?!

Also wrong, allows foreign files to be deleted by everyone.

fstab setting is 1777.


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


More information about the pld-devel-en mailing list