X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Matthieu CASTET <matthieu.castet@parrot.com>
Subject:  Re: chown with not existing user/group
Date: Thu, 28 Feb 2008 14:44:51 +0000 (UTC)
Lines: 26
Message-ID:  <loom.20080228T144047-205@post.gmane.org>
References:  <loom.20080228T135447-901@post.gmane.org> <008b01c87a16$308a0540$2e08a8c0@CAM.ARTIMI.COM>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

Dave Korn <dave.korn <at> artimi.com> writes:

> 
> 
>   Because it has to emulate unix perms by relating uid/gid to windows RIDs,
which are owned, allocated and
> controlled by the system, and not under the arbitrary choice of the user, so
the semantics wouldn't be the
> same even if we did create ACLs with unrecognised SIDs on them.
Ha, I forgot cygwin remaps them on windows perms.

But then why does it works if I create dummy user in /etc/passwd.
For example for root

$ echo "root:*:0:0:,S-1-5-32-545::" >> /etc/passwd
$ chown root:root /tmp/toto
$ ls -l /tmp/toto
-rw-r--r-- 1 root root 0 Feb 28 14:49 /tmp/toto

Does it means in this case I create "ACLs with unrecognised SIDs" ?

Matthieu




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

