X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B8CA8D3.6010508@wesbarris.com> Date: Tue, 2 Mar 2010 15:57:39 +1000 From: Wes Barris User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Cygwin Mailing List Subject: Resolving '????????' users and groups Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I'm trying to find a solution for my files being listed with '????????' as the owner and group: -rw-r--r-- 1 ???????? ???????? 137894 2010-02-25 11:34 1536.gff The following page partially addresses this: http://www.cygwin.com/cygwin-ug-net/ntsec.html It says that: -------------------------- If another user (or a Windows group, treated as a user) is not present in /etc/passwd, the uid of that user will have a special value of -1 (which would be shown by ls as 65535). The user name shown in this case will be '????????'. -------------------------- I would like to modify the /etc/passwd file so that it shows me as the owner of these files instead of '????????'. That page shows how /etc/passwd is used to create a mapping between Windows Security SIDs and Cygwin uids. How do I find/list the Windows SIDs of these files so that I can create the proper mapping in /etc/passwd? -- Wes Barris -------------------------------------------------------------------- Today's fortune: God invented automobiles so that we could pace locomotives. -- 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