- Joined
- Mar 6, 2014
- Messages
- 9,553
Well, you can use setfacl, but that's not very efficient because it doesn't recurse through a directory. This means you will have to use find syntax will be something like
and then
I'm a bit concerned that your groups aren't showing up. I'm not able to reproduce it on my servers. You may want to file a bug report at bugs.freenas.org.
Code:
find /mnt/<path-to-share>/ -type f -exec setfacl <access control entry> {} \;
and then
Code:
find /mnt/<path-to-share>/ -type d -exec setfacl <access control entry> {} \;
I'm a bit concerned that your groups aren't showing up. I'm not able to reproduce it on my servers. You may want to file a bug report at bugs.freenas.org.