| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| X-RZG-CLASS-ID: | mo07 |
| X-RZG-AUTH: | gMysVb8JT2gB+rFDu0PuvnvUUGmhfq1rhHRG5dSek381RH36O/5BOwiN |
| From: | Bruno Haible <bruno AT clisp DOT org> |
| To: | cygwin AT cygwin DOT com, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| Subject: | Re: setfacl on Cygwin |
| Date: | Thu, 22 May 2008 18:36:09 +0200 |
| User-Agent: | KMail/1.5.4 |
| References: | <200805220105 DOT 21773 DOT bruno AT clisp DOT org> <20080522123440 DOT GF731 AT calimero DOT vinschen DOT de> <20080522124427 DOT GG731 AT calimero DOT vinschen DOT de> |
| In-Reply-To: | <20080522124427.GG731@calimero.vinschen.de> |
| MIME-Version: | 1.0 |
| Message-Id: | <200805221836.09485.bruno@clisp.org> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |