cods69
Explorer
- Joined
- Sep 11, 2016
- Messages
- 50
Hey people. I'm not happy with how my CIFS permissions/owners were set up and would like to start again, without wiping the whole system or removing data.
System is Asrock 2750 with 8x4TBWDReds, 16GB ECC, running FreeNAS-9.10.2-U2. ~50% utilized.
Owner user is Root and owner group is shareusers (following a guide from way back when I set it up) and permission type is Windows, with 'allow guest account' enabled originally. Single volume, nothing fancy.
I've watched the guide videos on this forum and it looks reasonably easy to change owner/group, but it makes me pretty nervous after testing a few sub-directory permission changes, getting an error in Windows then having no access other than via Freenas shell to fix things. I've also read a few horror stories about ACLs which is getting towards the confusing side of things for me.
Question 1: Is there a clear, safe and definitive way to re-do permissions for this scenario?
Say I want to start from the beginning, giving full access to only one Windows user:
userx ...as part of user group
usergroupy ...defined in users/groups in Freenas and userx being the Windows login user (obviously with matching passwords).
Question 2: Is it good practice to leave root as the owner for CIFS
Question 3: If it all goes horribly wrong and get some nasty error in Windows again, when changing permissions (i.e. removing root as owner), should I have had contingency (backups) prior to starting all this or is there a way to 'get things back' via shell in Freenas and to not be too worried about this?
System is Asrock 2750 with 8x4TBWDReds, 16GB ECC, running FreeNAS-9.10.2-U2. ~50% utilized.
Owner user is Root and owner group is shareusers (following a guide from way back when I set it up) and permission type is Windows, with 'allow guest account' enabled originally. Single volume, nothing fancy.
I've watched the guide videos on this forum and it looks reasonably easy to change owner/group, but it makes me pretty nervous after testing a few sub-directory permission changes, getting an error in Windows then having no access other than via Freenas shell to fix things. I've also read a few horror stories about ACLs which is getting towards the confusing side of things for me.
Question 1: Is there a clear, safe and definitive way to re-do permissions for this scenario?
Say I want to start from the beginning, giving full access to only one Windows user:
userx ...as part of user group
usergroupy ...defined in users/groups in Freenas and userx being the Windows login user (obviously with matching passwords).
Question 2: Is it good practice to leave root as the owner for CIFS
Question 3: If it all goes horribly wrong and get some nasty error in Windows again, when changing permissions (i.e. removing root as owner), should I have had contingency (backups) prior to starting all this or is there a way to 'get things back' via shell in Freenas and to not be too worried about this?