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

Andreas Gruenbacher <[email protected]> Thu, 20 Apr 2006 19:54:55 +0200
Newsgroups gmane.linux.file-systems.acl.devel
Organization SUSE Labs / Novell Inc.
Message-ID <[email protected]>
On Thursday 20 April 2006 03:01, Matt McCutchen wrote:
> Dear ACL people,
>
> Why does attempting to set a default ACL on a regular file (not a
> folder) using lsetxattr(2) give EACCES, "Permission denied"?  I think
> EINVAL, "Invalid argument" would make much more sense.

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.

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