X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <49137108.2090100@tlinx.org> Date: Thu, 06 Nov 2008 14:34:48 -0800 From: Linda Walsh User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: group = (2**32-1) = 4294967295 References: <491026C2 DOT 8000409 AT tlinx DOT org> <20081104105650 DOT GA20638 AT calimero DOT vinschen DOT de> <4911FDD3 DOT 8070609 AT tlinx DOT org> <20081106133345 DOT GG6478 AT calimero DOT vinschen DOT de> In-Reply-To: <20081106133345.GG6478@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Corinna Vinschen wrote: > What you can do is a `strace -o dbg.blurbs ls -l filename' > At some point in the dbg.blurbs file you should find two lines in a > row like these: > > get_sids_info: owner SID = S-1-... > get_sids_info: group SID = S-1-... > > The SIDs should help to find out what group this is. I have this: 112 30120 [main] ls 1464 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-4276647594-2974560374-2904110730-1006 49 30169 [main] ls 1464 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1275210071-1078145449-839522115-513 61 30230 [main] ls 1464 get_info_from_sd: ACL 1C0, uid 1006, gid -1 I get the "1006" -- that maps to my username in /etc/login, but I don't get why the 2nd get sid, which has -513 at the end, doesn't map to group 513. Which corresponds to group "None" on my system: in /etc/group: None:S-1-5-21-4276647594-2974560374-2904110730-513:513: ...unless...were did the 3 numbers before the 513 come from? my local accounts seem to all have 4276647594-2974560374-2904110730 (in group & passwd) while my domain accounts all have 3863964499-339350228-1432906297 (also in group+passwd) that "1275210071-1078145449-839522115" Is there a switch to mkpasswd or mkgroup that should spit that sub-id or domain(?) out? It's like it belongs to the same group 'none' (513), but on a different domain. I don't have a different domain (at least not that I am aware of)... Could it correspond to this mysterious 'NT AUTHORITY'? when I try to print out group or passwd entries using mk{group,passwd} -d domain it doesn't appear to like the space no matter how I quote it: "x y", 'x y', x\ y, "x\ y", 'x\ y' so I'm guessing it really doesn't like spaces there? Should I be able to print out the "internal" or "built-in" domain groups & users some way with mk{passwd,group}? -- 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/