This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setfacl on Cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]