More information about the Underscore mailing list

[_] ACLs on FreeBSD/Linux

Amias Channer underscore at amias.org.uk
Fri Aug 31 12:44:21 BST 2007

On Fri, 2007-08-31 at 11:31 +0100, Oliver Humpage wrote:
> on 30/8/07 12:59, Amias Channer at underscore at amias.org.uk wrote:
> 
> > I haven't really played with this much but have you
> > checked if the user you are testing has a umask set ?
> 
> Ahh, seems that FreeBSD follows the POSIX standard, which basically says the
> umask should override the ACL mask. No-one else follows that (Linux,
> Solaris, etc). Grrrrrr. Kinda defeats the point of ACLs.
> 
> Well, I'm not going to change the umask to 002 for the users just to make
> everything group-writeable, that's horrible. Will have to find another
> workaround.

maybe if you specically unset the umask then the acl should work as
expected ? after all its just a mask so setting it to 000 should make
sure it has no effect.

If the homedirs are shared you could detect BSD by looking at $OSTYPE
and conditionally apply the mask.

Toodle-pip
Amias