Re: Why does setting a default ACL on a file give EACCES?

Matt McCutchen <[email protected]> Thu, 20 Apr 2006 15:48:08 -0400
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <1145562489.2140.1.camel@mattlaptop>
On Thu, 2006-04-20 at 19:54 +0200, Andreas Gruenbacher wrote:
> Default ACLs serve to define the ACL that objects created inside a directory 
> will be assigned. The concept of default ACL makes no sense for a file; you 
> cannot create a file in a file.

I realize that trying to set a default ACL on a file should be an error.
I am saying that an error message more appropriate than "Permission
denied" should be used.  "Invalid argument" would do.  "Not a directory"
is another possibility.

-- 
Matt McCutchen
[email protected]
http://hashproduct.metaesthetics.net/

_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel