simple sharing permissions

Status
Not open for further replies.

tlipur

Dabbler
Joined
Jul 9, 2012
Messages
11
Hello folks, Ive been having trouble with setting up simple sharing permissions for home use only.
Ive made one volume with multiple data sets. Id like to be the owner with full permissions, IE read write delete, for the volume and each data set.

Id like to make another account that has only read permissions, i dont want them to be able to delete or make new folders. Also i would like them to access the server(each data sets) without having to enter a username or password.

Ive read alot of docs and ive yet to find a solution.

Another thing i already have all my data on the server so i cant simply start from scratch.

Thanks in advance.
 

praecorloth

Contributor
Joined
Jun 2, 2011
Messages
159
I haven't had a chance to play with data sets yet, so I can't tell you much about how they work. However, for getting your users to access the share without having to enter a username/password, if you're using CIFS, you will have to create a user with the same username/password on FreeNAS, and then SMB will take care of the authentication automagically. If your users have expiring passwords, you'll need to find a central authority for those username/passwords like LDAP or Active Directory, and hook FreeNAS up to that. Though I will say, I've been working with FreeNAS for some time now and have yet to see a functional FreeNAS+AD setup.

Going back to your data sets and permissions. Do you know what the data sets look like on the disk? I have one big share with no data sets, but different user directories. If a data set creates a directory within your volume, perhaps you could go in via the command line and set the permissions. UserA's directory would have user:group of usera:usera, and your main user would be included in the usera group, thus granting you access, but not say UserB. I'm at work so I got interrupted like ten times while writing this. Did it make any sense?
 

tlipur

Dabbler
Joined
Jul 9, 2012
Messages
11
hey thanks for your response.

Sort of, but i dont have AD set up nor expiring passwords. Id like to set up a guest account with only read access on each cifs share and browse with out having to enter a password.

Well crap i wish i set up one big share without data sets. is there a way to merge all data sets into one big volume without starting from scratch?
 

praecorloth

Contributor
Joined
Jun 2, 2011
Messages
159
First off, you don't have AD or expiring passwords, you're in luck then. That means that your passwords will change so infrequently that it won't be that big a deal to manage them in two different places.

For your data sets, I don't know about combining them without starting all over again. I'm about ready to leave work for the day. I'll go home and play with FreeNAS in a VM and see if I can figure out anything about data sets. Don't do anything rash in the mean time. :)
 

tlipur

Dabbler
Joined
Jul 9, 2012
Messages
11
dude thanks for the help. i dont want to merge data sets would like to keep it as is.

Thanks
 

tlipur

Dabbler
Joined
Jul 9, 2012
Messages
11
Hey bud i think i finally got it via the gui.

For each data set i set my self as the owner and for the group i set it to nobody.
When i went to cifs shares i set each cfis as allow guest access AND boom guests had access, no passwords and mostly on all shares they could not make changes to the folder.

Its weird that on some cifs shares i also had to select export read only.

But non the less its good to go.

I have one personal folder for me thats only accessed via password. So once im logged into that folder i have access to the rest of the cifs shares and able to make changes ie add move delete files.

Thanks again for the help
 
Status
Not open for further replies.
Top