[Acl-Devel] What would be the 'proper' function to determine that a fs can support posix acls?

Robert Watson rwatson at FreeBSD.org
Fri Apr 27 01:39:03 GMT 2001


On Thu, 26 Apr 2001, Andreas Gruenbacher wrote:

> I did not realize I was overruled on this, but for compatibility reasons
> I will change the behaviour of acl_get_{fd,file}() to match the one of
> Irix + FreeBSD. 
> 
> How about acl_set_{fd,file}()? I presume your interpretation of draft 17
> also means those never do the equivalent of chmod on filesystems without
> ACL support? 

This was my understanding also.  In my original implementation, I mapped
the ACL calls to mode calls in the event that ACLs were not present, but
in the committed version, the acl_{get,set}_{fd,file}() calls return
EOPNOTSUPP when performed on objects that do not support the requested ACL
type. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert at fledge.watson.org      NAI Labs, Safeport Network Services


To Unsubscribe: send mail to majordomo at cyrus.watson.org
with "unsubscribe posix1e" in the body of the message



More information about the posix1e mailing list