SOLVED CIFS sharing folders

Status
Not open for further replies.

Calagan74

Cadet
Joined
Sep 12, 2014
Messages
5
Hello,

I have some issue with CIFS sharing folders
In fact I'd like:
2 users : user1 et user2
2 datasets : folder1 et folder2

and for sharing rights I'd apply:
user1 must access to folder1 and folder2 in RWX (can modify all files)
user2 must access to folder2 in RWX (can modify all files) and no access to folder1
and I don't want use guest access ;)

It'look easy but have many troubles with readonly access..
Here is my configuration :
- I created user1 in the group named"group1"
- I created user2 in the group named "group2"

-I created dataset "folder1" in my ZFS volume with these params:
-Owner (user) : user1
-Owner (group) : group1
-Mode : rwxrwx---
-ACL : Unix

-I created dataset "folder2" in my ZFS volume with these params:
-Owner (user) : user1
-Owner (group) : group2
-Mode : rwxrwx----
-ACL : Unix
On windows PC :
-I created user1 (with the same password than the user on freenas ) for pc1
-I created user2 (with the same password than the user on freenas ) for pc2

Next from pc1 wih user1 I have copied monay files on folders1 and folder2

With these parameters it lookworking for user1 but
- user2 can access to folder2 files but only on read-only and I'd like RWX
-If user2 create a file on folder2, user1 can't modify it ... and I'd like it could
- If user1 create a file on folder2, user2 can't modify it .... and I'd like it could

Thank for help

Calagan
 
D

dlavigne

Guest
Which version of FreeNAS? Any reason why you're not using Windows ACLs and modifying the perms on the Windows client side?
 

Calagan74

Cadet
Joined
Sep 12, 2014
Messages
5
It's the last one : 9.2.1.7
thanks for the solution, it's work correctlw with ACL windows !
 

AVB

Contributor
Joined
Apr 29, 2012
Messages
174
So could you post the solution?
 

marian78

Patron
Joined
Jun 30, 2011
Messages
210
Hi, that is nice that we can switch our old (working in v9.2.0) settings from unix to windows acl, but what if i have 10TB data on freenas that i share? I die before :mad: and the Windows PC client computer will burn :p together with the switch, if set desirable permissions on windows ... :confused:
 
Status
Not open for further replies.
Top