jlu-ilr-hydro / odmf

Observatory Data Management Framework
MIT License
4 stars 5 forks source link

Permissions of folders created by the web interface #88

Closed DWindhorst closed 3 years ago

DWindhorst commented 3 years ago

Folder created through the web interface of the database have the wrong read/write permissions.

philippkraft commented 3 years ago

This was a tough one: The issue happens only in the systemd service, not if the server is run from the normal user. Reason is umask, which is different for a shell user than for a service user. Setting the UMask explicitly for the service solves the problem.