:: Re: [DNG] useradd defaults
Top Pagina
Delete this message
Reply to this message
Auteur: tilt!
Datum:  
Aan: dng
Onderwerp: Re: [DNG] useradd defaults
Am 04.04.2016 um 08:58 schrieb Boruch Baum:
> [...]
> I'm getting a bit uncomfortable about starting this thread, because
> upon reflection, it seems that one consequence of setting the
> system-wide may be that the 027 umask will end up having some system
> account creating a file that should be world-readable or
> world-executable, but because of the umask, it now would not be, and
> so would break stuff.


This is why a process creating a file that needs to have a specific mode
must use chmod(2) to set that mode and may not rely on a specific
setting of umask.

Kind regards,
T.