> Hi all,
>
> using uWSGI 1.9.6, I notice that the pidfile is created with permission
> 666. It is launched by root, which has a umask 022.
>
> My init script basically starts uwsgi with the options
>
>   --master --pidfile /some/path/uwsgi.pid --emperor /some/path/vassals
> --daemonize /some/path/uwsgi.log
>
> I tried to specify the --umask option with the same bits, but without
> any effect on the permission of the pidfile.
>
> Is this expected, or am I doing something wrong?
>
> Thanks a lot,
> bye, lele.
> --
> nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
> real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
> [email protected]  |                 -- Fortunato Depero, 1929.
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>

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)

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

Reply via email to