A_N_G
Cadet
- Joined
- May 30, 2015
- Messages
- 2
Hi - First post, please go easy.
Currently exploring FreeNas and learning a ton about users and shares from the 9.3 manual. Had an issue come up with mac users who created files or folders locked (read only) to my Win7 users or Ubuntu. The root cause to the was the folder permissions were not inherited from the parent rw folder. After much searching and reading all sorts of "solutions" I was able to simply resolve this by changing two things:
services > CIFS settings > server maximum protocol > change from SMB2 to SMB2_10
sharing > Windows (CIFS) > (your share, mine was "public" > Advance Mode > VFS Objects > add the following "acl_tdb" and "acl_xattr"
Question is this configuration is "ok" before I go any further or am I asking for trouble? is the VFS additions even needed? Need more detail, see the ramble below.
thanks
AG
Scope: Using my old PC, create a encrypted local NAS to store / access Music, Photos, and documents/files for home use. I have a separate backup in place and stored off site. Out of scope for this post is Raid config, as i just have one 2T drive to test with.
Build detail
Build FreeNAS-9.3-STABLE-201505130355
Platform Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
Memory 3951MB(yup its not 8G, I have some on order)
Users: Admin, family, and visitors via Lan. Win7, Mac OSx, Ubuntu 14.04. Folders have mixed permissions, wr/r ect... First thing I did was make up an excel sheet for the users and groups to see who needs what access. Next, created the users and groups:
IMPORTANT: Permissions will be configured and set on the windows side and your windows login/password must match "fmlast1" from the above groups. Took some time to fully understand this, but check out this vid for help. https://www.youtube.com/watch?v=PhYkZlbBbwk
storage > volume manager > Name = Tank
added a dataset called "public", set up User and Group owners. Set permissions to "windows"since I read this is the way to go for mixed win/mac shares. Finally, left "set perm recursively unchecked.
Shares: Created a new CIFS, gave it a name "public" with allow guest access unchecked. (*see first few lines of this post, more settings were applied due to a mac permission issue)
Services: Turned on CIFS and set up the name and work group.
Objective: Before migrating any files, test out the following to ensure all goes well in the event of a PC or flash drive failure. Verify I can recover the data from the encrypted HD
AG
Currently exploring FreeNas and learning a ton about users and shares from the 9.3 manual. Had an issue come up with mac users who created files or folders locked (read only) to my Win7 users or Ubuntu. The root cause to the was the folder permissions were not inherited from the parent rw folder. After much searching and reading all sorts of "solutions" I was able to simply resolve this by changing two things:
services > CIFS settings > server maximum protocol > change from SMB2 to SMB2_10
sharing > Windows (CIFS) > (your share, mine was "public" > Advance Mode > VFS Objects > add the following "acl_tdb" and "acl_xattr"
Question is this configuration is "ok" before I go any further or am I asking for trouble? is the VFS additions even needed? Need more detail, see the ramble below.
thanks
AG
Scope: Using my old PC, create a encrypted local NAS to store / access Music, Photos, and documents/files for home use. I have a separate backup in place and stored off site. Out of scope for this post is Raid config, as i just have one 2T drive to test with.
Build detail
Build FreeNAS-9.3-STABLE-201505130355
Platform Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
Memory 3951MB(yup its not 8G, I have some on order)
Users: Admin, family, and visitors via Lan. Win7, Mac OSx, Ubuntu 14.04. Folders have mixed permissions, wr/r ect... First thing I did was make up an excel sheet for the users and groups to see who needs what access. Next, created the users and groups:
User - Group(s) - notes
fmlast1(me) - nasadmin, nasuser, public, wheel. - this will be the "super user"
fmlast2 - nasuser, public. - some r/rw in the future as a build up
fmlast3 - nasuser, public. - some r/rw in the future as a build up....ect....ect...
public - public. - read only
fmlast1(me) - nasadmin, nasuser, public, wheel. - this will be the "super user"
fmlast2 - nasuser, public. - some r/rw in the future as a build up
fmlast3 - nasuser, public. - some r/rw in the future as a build up....ect....ect...
public - public. - read only
IMPORTANT: Permissions will be configured and set on the windows side and your windows login/password must match "fmlast1" from the above groups. Took some time to fully understand this, but check out this vid for help. https://www.youtube.com/watch?v=PhYkZlbBbwk
storage > volume manager > Name = Tank
added a dataset called "public", set up User and Group owners. Set permissions to "windows"since I read this is the way to go for mixed win/mac shares. Finally, left "set perm recursively unchecked.
Shares: Created a new CIFS, gave it a name "public" with allow guest access unchecked. (*see first few lines of this post, more settings were applied due to a mac permission issue)
Services: Turned on CIFS and set up the name and work group.
Objective: Before migrating any files, test out the following to ensure all goes well in the event of a PC or flash drive failure. Verify I can recover the data from the encrypted HD
- Turn on full drive Encryption, add a pass phrase and backup keys.
- Save a copy of the FreeNas flash drive OS by backing up the "config" file.
- create a data set, share it, write some data to it and make sure win7, ubuntu and Mac users can read a write (note had some issues here, see below)
AG