Request: Guide to Set Up Fresh Permissions, Windows/Unix

Status
Not open for further replies.

Chris Dill

Contributor
Joined
Jan 1, 2014
Messages
116
I run a Windows domain, and over the years my storage permissions have gotten JACKED. They work, but every directory is its own form of nasty. Can someone point me to, or write up a comprehensive guide on Windows and Unix Permissions? Consider the following scenario:

Fresh Install of 11.X
One Volume, One Pool
On the pool, there are several windows shares
These shares need to be accessible and mappable by all domain users, once authenticated
These shares need to be used by multiple plugin/jails
Plex, Transmission, Sonarr, Etc

Basically, what are the initial settings once AD is integrated and the Pool is setup? Then, what commands have to be run to fix permissions to allow plugins to do things? Then, what permissions inside of jails need to be handed out?

This is my root:

upload_2018-11-8_2-3-19.png


I believe recursive was done initially. I think on older Freenas, I saw my domain accounts under Users, but now just:

upload_2018-11-8_2-4-56.png


These are commands that I run very often:

find . -type d -exec setfacl -m everyone@:full_set:fd:allow {} \;
find . -type f -exec setfacl -m everyone@:full_set::allow {} \;
find directory/ | setfacl -b

So basically, when permissions screw up I run the above commands in the root, then I log into jail and chown recursively, then log out and run those commands again, then reboot- it typically fixes everything.

The entire server is LAN, so open permissions are fine. And everyone in the domain is trusted, so everyone is good there as well.

I am not necessarily looking for someone to fix what I have, but rather looking for a start to finish permissions setup for vol, pool, share, and plugin management. Can anyone help?
 

Chris Dill

Contributor
Joined
Jan 1, 2014
Messages
116
Were you able to figure this out?
Well, there isn't really anything to figure out, just looking for a guide on how to handle permissions from the top down. My system works fine and will continue to work even with the permissions mess. I will probably rebuild in the next few years and would like to do it the right way.
 
Status
Not open for further replies.
Top