delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/22/08:35:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 22 May 2008 14:34:40 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: Bruno Haible <bruno AT clisp DOT org>
Subject: Re: setfacl on Cygwin
Message-ID: <20080522123440.GF731@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, Bruno Haible <bruno AT clisp DOT org>
References: <200805220105 DOT 21773 DOT bruno AT clisp DOT org> <48355D5B DOT 3030101 AT byu DOT net>
MIME-Version: 1.0
In-Reply-To: <48355D5B.3030101@byu.net>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On May 22 05:47, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Bruno Haible on 5/21/2008 5:05 PM:
> | Hi Eric,
> |
> | I'm looking at ACL support for gnulib. Can you reproduce this with a
> | recent Cygwin? With a two-year-old Cygwin I got this:
>
> I reproduced the same symptoms with cygwin 1.5.25-11.
>
> |
> | $ touch foo
> |
> | $ getfacl foo
> | # file: foo
> | # owner: haible
> | # group: None
> | user::rw-
> | group::r--
> | mask:rwx
> | other:r--
> |
> | $ setfacl -m user:4:--x foo
> | setfacl: No error
> |
> | $ echo $?
> | 0
> |
> | $ getfacl foo
> | # file: foo
> | # owner: haible
> | # group: None
> | user::rw-
> | group::r--
> | mask:rwx
> | other:r--
> |
> | The setfacl program
> |   1. complained about "No error",
> |   2. exited with exit code 0 although it did not execute the requested
> change.

The problem is that the request can't be executed because we have no
mapping from uid 4 to a Windows SID.  OTOH, the underlying Solaris
function acl() does not define any error code for a non-existant user
because it's not an error on Solaris. 

What error code do you want?  EINVAL?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019