permission of /home/services

Elan Ruusamäe glen at pld-linux.org
Mon Jul 21 13:13:08 CEST 2008


On Monday 21 July 2008 13:14:51 Marcin Krol wrote:
> > my suggestion is to change it to 755,root,root as i don't see much gain
> > other than security by obscurity and adding builder user to adm group i
> > don't want to do either. assuming home dir of 'service' should be
> > /home/services.
>
> I'm happy with current permissions as I don't need to chmod every
> directory in /home/services by hand. As for your problems, I usually
> 'chmod 711 /home/users' and never had problems with building packges or
> with su/sudo.

my problem is opposite, the restrictive permissions cause havoc with programs 
expecting to readdir(), getcwd() or sth similar to succeeed.

and doing chmod on directory from rpm package, will make the permissions lost 
again if the owner package is upgraded. this is not consistent behaviour.

-- 
glen


More information about the pld-devel-en mailing list