setfacl on Cygwin

Bruno Haible bruno@clisp.org
Thu May 22 16:44:00 GMT 2008


Corinna Vinschen wrote:
> > What error code do you want?  EINVAL?

EINVAL sounds right, yes. The Solaris manual page [1] also mentions it:

  "EINVAL
    ... the cmd argument is SETACL or ACE_SETACL and the ACL specified in
    aclbufp is not valid."

> I applied a patch to CVS so this situation will return an "Invalid argument"
> error message now.

Thanks. Will the setfacl program then exit with non-zero exit code (since it
could not set the requested ACL)?

Bruno


[1] http://docs.sun.com/app/docs/doc/816-5167/acl-2?l=en&a=view


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list