delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/16/07:42:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <26371224.post@talk.nabble.com>
Date: Mon, 16 Nov 2009 04:41:47 -0800 (PST)
From: aputerguy <nabble AT kosowsky DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: 'ls' not finding owner/group of some files created by other user
In-Reply-To: <20091116083735.GA3503@calimero.vinschen.de>
MIME-Version: 1.0
References: <26355135 DOT post AT talk DOT nabble DOT com> <31b7d2790911142111jf12e432ua0991329f8b3eeec AT mail DOT gmail DOT com> <26360860 DOT post AT talk DOT nabble DOT com> <20091116083735 DOT GA3503 AT calimero DOT vinschen DOT de>
X-IsSubscribed: yes
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

Corinna Vinschen writes:
> It means it doesn't know the SIDs.  They don't show up in /etc/passwd
> and /etc/group.

BUT THEY DO! And they must since why else would doing a trivial 'chmod'
(that doesn't change anything) all of a sudden make them show up.

$ subinacl /noverbose /nostatistic /file
C:\\cygwin\\usr\\local\\bin\\testfolder
/findsid=S-1-5-21-1234567890-1234567890-1234567890-1005

+File C:\cygwin\usr\local\bin\testfolder
/control=0x0
/owner             =mymachine\userA
/pace =mymachine\userA  Type=0x0 Flags=0x0 AccessMask=0x1f01ff

$ grep S-1-5-21-1234567890-1234567890-1234567890-1005 /etc/passwd
userA:unused:1005:513:U-mymachine\userA,S-1-5-21-1234567890-1234567890-1234567890-1005:/home/userA:/bin/bash

Note this error doesn't happen if I create a folder (using Windows tools) in
C:  but it does happen in all the other public places I tried, including:
/c/Program Files
/c/cygwin/usr
/c/cygwin/usr/local
/c/cygwin/usr/local/bin

-- 
View this message in context: http://old.nabble.com/%27ls%27-not-finding-owner-group-of-some-files-created-by-other-user-tp26355135p26371224.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


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