-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
When Starman creates a UNIX socket it just inherits the prevailing umask setting, which often means that the socket is restricted so only the same UID can connect to it. It's common to deploy webapps as their own user ID, separate from the user ID the webserver is running as, so this is not ideal.
It would be useful if there was a configuration setting to chmod the socket; either. to mode 0777 and permit everything.
As an extra stretch-goal, a really nice configuration would be chmod to 0775 to permit the group and additionally supply a supplementary group that can be shared by the webserver, which can then be chgrp'ed onto the socket. E.g. platforms often use the group www-data for this purpose.
Thanks
miku-orb
Metadata
Metadata
Assignees
Labels
No labels