I’m trying to figure out how to change the default ‘umask’ that is used when the Files App creates new directories and files. Currently (at least on our system) it is using 022. For example, directories are created with permissions drwxr-xr-x. I want to change this to 002 so directories get a default permission of drwxrwxr-x. Where would I need to change the umask setting? Is that in the Files application or at the OS level for the user (and which user, the actual one or what the web server runs as)?
We are looking into it: https://github.com/OSC/ood-fileexplorer/issues/200
See https://github.com/OSC/ood-fileexplorer/issues/200#issuecomment-484085506 for an example of how to do this for just the files app. It amounts to adding a file /var/www/ood/apps/sys/files/bin/node
Once we have a solution that works to affect all the OnDemand apps we will provide that.
Thanks. I’ve implemented this at our site, and it appears to resolve the permissions issue.