Set perms of windows share

Status
Not open for further replies.

sirjorj

Dabbler
Joined
Jun 13, 2015
Messages
42
I have been using FreeNAS for a few months now and so far, so good! This evening I tried something new and encountered a problem.

I added a new user account and then added a new dataset for said new user. I changed the owner and group of this new dataset to the new user. The problem is that since this dataset uses windows-type permissions, there are none! The checkboxes are disabled.

How do I basically uncheck the 'other' checkboxes so that only this new user will see and have read/write access to this new share?
 

sirjorj

Dabbler
Joined
Jun 13, 2015
Messages
42
Fantastic work! Thank you much! I have it basically working, but is there a simple way to make a share not even appear if you don't have access to it?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Fantastic work! Thank you much! I have it basically working, but is there a simple way to make a share not even appear if you don't have access to it?
That's referred to as "access based enumeration". Configuring it on samba is not simple. You have to define a Share Permissions ACL as described here: https://wiki.freenas.org/index.php/..._Samba_Permissions#NT-style_Share_Permissions and set the share definition "auxiliary parameter"
Code:
access based share enum = yes
 

sirjorj

Dabbler
Joined
Jun 13, 2015
Messages
42
That looks a bit more challenging. I will dig into that another evening!

Thanks again for the quick responses!
 
Status
Not open for further replies.
Top