Hi everyone,
after many hours of frustrating attempts I decided to ask some help.
Sorry in advance, I'm a novice and my english is pretty bad.
Info:
FreeNAS 9.3
LAN with Windows and Mac machines
How it should be:
I want a dataset, named "Storage", accessible by everyone on the LAN, where I store generic data/media files.
It should be accessible by a guest account without password, since that kind of data aren't sensitive and anyone who have access to the LAN should see/write into that dataset.
Inside "Storage" I want a dataset, named "Work", accessible by account&password and possibly hidden to guest accounts.
I made somthing similar by:
Recently I updated to FreeNAS 9.3 and trying to solve jails permission problem I messed up something.
Now "Work" is accessible by guest users too. In fact, if I open "Work" dataset permission by GUI, I see 775 permission. If I try to change to RWE owner only, it doesn't change anything, leaving 775.
I think that it has to do with Windows permission type and ACL. If I try to create a new dataset inside Storage and setting Unix permission type during creation, it work like before (unaccessible by guest user).
Using Windows, I can see that "Work" folder has moderator user and "Everyone" user. I tried to remove read permission to "Everyone" without success.
Probably I have not exlpained it clearly, I'm very confused and frustrated, any help would be appreciated.
Edit: supposing to delete users and dataset that I crated and restart from zero, what do you suggest me to do?
after many hours of frustrating attempts I decided to ask some help.
Sorry in advance, I'm a novice and my english is pretty bad.
Info:
FreeNAS 9.3
LAN with Windows and Mac machines
How it should be:
I want a dataset, named "Storage", accessible by everyone on the LAN, where I store generic data/media files.
It should be accessible by a guest account without password, since that kind of data aren't sensitive and anyone who have access to the LAN should see/write into that dataset.
Inside "Storage" I want a dataset, named "Work", accessible by account&password and possibly hidden to guest accounts.
I made somthing similar by:
- Creating "Storage" dataset and "Work" dataset inside "Storage"
- Creating "guest" user, guest group, directory home /mnt/Storage, disabled password
- Creating "moderator" user, "moderator" group (created by me), directory home /mnt/Storage/Work
- Setting "Storage" permission: owner "root", group "guest", 775 permission
- Setting "Work" permission: owner "moderator", group "moderator", owner RWE permission only
- Enabling CIFS service: account guest "guest", allow empty password
- Creating CIFS share: enable guest access and an auxiliary parameter that hide Work folder to those who can't access that (I don't remember it)
Recently I updated to FreeNAS 9.3 and trying to solve jails permission problem I messed up something.
Now "Work" is accessible by guest users too. In fact, if I open "Work" dataset permission by GUI, I see 775 permission. If I try to change to RWE owner only, it doesn't change anything, leaving 775.
I think that it has to do with Windows permission type and ACL. If I try to create a new dataset inside Storage and setting Unix permission type during creation, it work like before (unaccessible by guest user).
Using Windows, I can see that "Work" folder has moderator user and "Everyone" user. I tried to remove read permission to "Everyone" without success.
Probably I have not exlpained it clearly, I'm very confused and frustrated, any help would be appreciated.
Edit: supposing to delete users and dataset that I crated and restart from zero, what do you suggest me to do?
Last edited: