File Manager | Files Permissions



I have managed to start os-js with PAM authentication, but when I use file manager and create or upload new file it creates it as root user and not as logged in user.

Also, if there is a file to which logged in user shouldn’t have permissions to read or write, the file manager allows it.

Is there a way to set os-js file manager to respect file permissions?

Best regards!



Are you running the server as root ? This is not recommended.

Currently there is no way to respect file permissions, but it’s a good idea!

Feel free to open an issue about this here:



Yes, I was running it as root. This was just for development purposes.

I opened the issue:


Yup. Got a notification on it. Thanks! I’ll look at what’s required to get this working this weekend.


OK, great, thanks!