so before the guide is out, can anyone point me somewhere I can lean how to use getfacl and setfacl ?
My permissions are completely messed up and I urgently need to rebuild them
I have several datasets, all of them are set up in FreeNAS GUI (9.2.1.9) with Windows type permissions.
I have one CIFS share for each dataset.
I've tried to set up the permissions using the Windows properties (security and stuff), this seems to be what is recommended when I browse the threads on the forum.
After doing so, I would get all kind of errors and then some users lost access to some shares, or even to some directories inside of shares, and all is messed up now.
getfacl on one of my CIFS shares gives me this:
Code:
# owner: ME
# group: MYGROUP
user:USER1:rwxp-daARWc---:fd----:allow
user:USER2:rwxp-daARWc---:fd----:allow
user:USER3:rwxp-daARWc---:fd----:allow
user:USER4:rwxp-daARWc---:fd----:allow
owner@:rwxpDdaARWcCo-:fd----:allow
so as you see...
1) there is no permission for the group ?!?
2) There are users who have specific rules
i want to recursively clean all that stuff
I've never used getfacl and setfacl... I'm only familiar with UNIX type permissions so I've been googling around but I can't find anything that will simply tell me how to do that step by step, cleanly, effectively:
For each dataset / CIFS share I want to set the permissions to 770, and specify a user and a group,
recursively.
I'm just a unix fanboy who really liked the poetic beauty and the magnificent simplicity of CHMOD -R & CHOWN -R
Now I'm confused and I don't understand what is happening to me
PLEASE HELP!