- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Share permissions (samba force user/group)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Share permissions (samba force user/group)
I have been running os6.5.0 on my old ultra6 for some time now, and everything seems to be going well. I am however trying to setup a CIFS share so that regardless of user account used to connect, the files are saved under a specified user/group.
I believe this would be the samba 'force user' and 'force group' configuration lines at the share level in a standard samba.conf. Is there any way to set this from the GUI?
Detailed use case:
I have dropbox running on the nas as user X under the share Dropbox, I have this share set so that anyone in group Y can read/write. Lets say user Z from group Y writes to the Dropbox share, the file is written and the ownership is set as user Z - this unfortunately causes the file not to be syned with dropbox. I want that a file written by any user in group Y is actually saved to disk as user X.
Thank you in advance.
Best regards,
Matthew
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Share permissions (samba force user/group)
You can make modifications to the Samba share using /etc/frontview/samba/smb.conf.overrides
[Share] path = /data/Share force user = root force group = root [global]
Make sure Share matches your share from your config (can doublecheck testparm or look at /data/._share/Share/samba.conf, or /etc/frontview/samba/Shares.conf). Also, don't forget the [global] at the end.