uMTP-Responder
uMTP-Responder copied to clipboard
Add file permissions option
At the moment files are created with r/w for the owner only. In my use-case I need the files to be readable by other users. Right now I've hacked the code but I think it might be useful to have the file permissions settable from the config file.
At the moment files are created with r/w for the owner only. In my use-case I need the files to be readable by other users. Right now I've hacked the code but I think it might be useful to have the file permissions settable from the config file.
Yes we might need this too. I will implement this, probably in the "storage" options.
Thanks, I have a similar use case, but we also need owner changes and per-directory settings. i.e., server is running as root (changing to other user will not work). we have 3 directories exported: data, logs and updates. In data directory, copied files must be owned by user "nobody" with permissions 0600, updates may be changed to another user with permissions 0660. We probably work on that in the next weeks and submit a PR eventually.
Thanks.
See PR #38