NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mjleonard
Jul 27, 2016Aspirant
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
1 Reply
Replies have been turned off for this discussion
- kohdeeNETGEAR Expert
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.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!