> "Roberto De Ioris" <[email protected]> writes:
>
>> Remember umask is used only when creating a file, so if you want to
>> change
>> it you have to first remove the pidfile (or use --vacuum that cleans
>> pidfiles and sockets on exit)
>
> That was the reason, and "--umask 022 --vacuum" cured my problem, thank
> you.
>
> Why does uWSGI need to reset the umask (I mean, umask(0)) when it is not
> specified as an option?
>
> ciao, lele.
>


for hystorical (they are obviously technical, but they have lost lot of
meanings in modern unix) reasons unix daemons should call umask(0) on
startup. uWSGI does this when --daemonize is specified.

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to