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
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