Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 16:33:41 -0700 (PDT)
From:      Jon Falconer <jfalconer@puc.edu>
To:        questions@freebsd.org
Subject:   trying to use ACLs
Message-ID:  <Pine.BSI.4.05L.10508301622580.15750-100000@ecf.puc.edu>

next in thread | raw e-mail | index | archive | help
Hi,

I'm running FreeBSD 5.4-Release and trying to make use of the ACLs
feature. I've enabled it on the partition I'm using. I can set access ACLs
on a directory just fine, but whenever I try to set a default ACL, I get
the following:

%setfacl -dn -m g:PR:rwx test
setfacl: warning: no mask entry
setfacl: acl_set_file() failed for test: Invalid argument
%

The group PR does exist as I can change the group owner for test to PR. It
complains that there is no default mask. So I try:

%setfacl -d -m m::rwx test
setfacl: acl_set_file() failed for test: Invalid argument
%

I'm guessing that the default ACLs are what are assigned to any file
created inside the directory. Is this correct? If so, that is useful.

Any ideas what I can try next?

Thanks,

Jon




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.05L.10508301622580.15750-100000>