-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Currently, filebrowser is run as root (at least for the docker version) and every file created through filebrowser is hence created as root too.
The idea would be to link filebrowser users with systems users and permissions.
For example if I have multiple users who create multiple files through filebrowser, I would like each filebrowser users to be mapped with the different system users.
For example through an option we could activate when running filebrowser (--map-users or --unix-perms ...)
Anyway I think that would be more secure to use Unix permissions under the hood rather than the "everything belongs to the same user" model...
Would that be possible ? Would that need a lot of modifications in the code ?
I would love to contribute to the project and make that possible but Go is not really my thing :(
And if you don't have time for that, maybe you could tell me where I should start to look in your code to do that ?