Google "freebsd manpage winacl".
That's about all you're going to find. ;)
Haha.. you're right. Too many "acl" programs.
You don't want winacl. That's a custom thing to iX and isn't meant for users to use. You want to look at "setacl" and "getacl". :D
Googling "freebsd manpage setacl" yields more useful results.
Sorry to necro, but I got here from a google search so this thread still seems relevant (was for me... today, literally) - trust what cyberjock is saying, not just because he knows what he's talking about, but also because winacl is a wrapper around setfacl. The guide really should be updated btw, it still says to use winacl for some reason which certainly threw me for a loop thinking this was really the only way to "fix" "changes made with chmod on version 9.3.Are you sure , it is in the errata as a way to restore broken ACLs : 'If you already destroyed the ACLs using chmod, winacl can be used to fix them. Type winacl from Shell for usage instructions. ' - http://doc.freenas.org/index.php/9.2.1.7_ERRATA
Sorry to necro, but I got here from a google search so this thread still seems relevant (was for me... today, literally) - trust what cyberjock is saying, not just because he knows what he's talking about, but also because winacl is a wrapper around setfacl. The guide really should be updated btw, it still says to use winacl for some reason which certainly threw me for a loop thinking this was really the only way to "fix" "changes made with chmod on version 9.3.
btw this command works great for recursive updates (modify as needed, please google setfacl for more details):
find . | setfacl -m owner@:modify_set:allow
find . | setfacl -m group@:modify_set:allow
The "modify_set" part is a package of acl's that grant ability to the owner or group to modify the contents (file and directory).
Hope this helps someone until cyberjock gets that (greatly needed) permissions guide vetted out. =)
winacl -a remove -p /mnt/NAS1/NAS1
winacl -a remove -p /mnt/NAS1/NAS1
What version of FreeNAS is this? winacl is an internal tool and it periodically changes. If you're in 11.3, use the webui to change ACLs.Could somebody please explain what to do exactly to fix this? I am on the machine as root via SSH and have tried to fix the broken ACL/reset the ACL/set the owner to a valid user and group to make it accessible again.
I have triedandCode:winacl -a remove -p /mnt/NAS1/NAS1.Code:winacl -a remove -p /mnt/NAS1/NAS1
I'm a noob and I don't want to try more to not break more. Halp.
What are you trying to accomplish? What's the output of "getfacl /mnt/<pool>?"I have version FreeNAS-11.3-U2 and my option to change the ACL is greyed out, too (as with OP). I gathered from this thread that setfacl would be how to do it? The original owner was root and group was wheel and I changed that because I had no clue.
root@freenas:~ # getfacl /mnt/NAS1/NAS1 # file: /mnt/NAS1/NAS1 # owner: root # group: wheel owner@:rwxpDdaARWcCos:fd-----:allow group@:rwxpDdaARWcCos:fd-----:allow user:al:rwxpDdaARWcCos:fd-----:allow everyone@:--------------:fd-----:allow