Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to force uid/gid #48

Open
joshbowyer opened this issue Dec 13, 2020 · 2 comments
Open

Add option to force uid/gid #48

joshbowyer opened this issue Dec 13, 2020 · 2 comments

Comments

@joshbowyer
Copy link

There should be a configurable option in umtprd.conf to force uid/gid for files written to mount loops, such as samba does with the force user and force group directives. As in, if I specify force user = 1000 for the /home loop, then any files written via to /home via umtp should have 1000:1000 ownership (which would translate to a user/group on the host system)

@jfdelnero
Copy link
Member

We will consider this feature and study how this can be implemented.

@jfdelnero
Copy link
Member

@joshbowyer The UID / GID can now be forced for each storage unit.
currently on the master branch. Configuration file updated showing the "default_uid/default_gid" and "uid=/gid=" usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants