X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=dw/VRYXx+YrlSpl0
	hYSmVtoLp9SY8m+G4YZ/ipYFPzAkrqYtvUp2bShd99OsZpefLSB89bZPiHwZs3r/
	HJueoU6HRTNo9b4zroiAdYi+78tLJyzvcz0Iyt5gI6vE+mk5FgVoNPAZmuyM4ek6
	XnLrwO30a3wsZ2YXiLxuEaDXs9c=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=VWUVP8WRat0p1nTCJcWqz9
	MIS88=; b=b2M3tzFpLX7dEdrtiZZ+xLS1ar+xAX5ZbjQN9QzpCb1D5L9opbDdPz
	EnrM6Ny07L9fgPz8eY+UoxiDWpLOEQhdBTo+QOxfCQ+Q61q6k8k+0snFiQPJGzdl
	6N1zuX53RwgNGTAzsJ9ObbtMBj6++Oz/bbyNQoHkB5bhGp1C+joQs=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.2 required=5.0 tests=AWL,BAYES_20,KAM_COUK,URIBL_DBL_ABUSE_REDIR autolearn=no version=3.3.2
X-HELO: out.ipsmtp2nec.opaltelecom.net
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2DaAgAWZu1U/14z0lUNToNVVQWDCK1AAQEBAQIGkkyFcwMCAoFsAQEBAQEBhQwBAQQjDwFFEQsIEAICBRYLAgIJAwIBAgE3AQ0TBgIBAYgWARy6I3CGU4xPCIYAAQEBAQYBAQEBAQEBG4EhhGaFDIR1FoJSgUMFkzuFZYEbjBwCgkSCcU2EEG8LAQGCNgEBAQ
X-IPAS-Result: A2DaAgAWZu1U/14z0lUNToNVVQWDCK1AAQEBAQIGkkyFcwMCAoFsAQEBAQEBhQwBAQQjDwFFEQsIEAICBRYLAgIJAwIBAgE3AQ0TBgIBAYgWARy6I3CGU4xPCIYAAQEBAQYBAQEBAQEBG4EhhGaFDIR1FoJSgUMFkzuFZYEbjBwCgkSCcU2EEG8LAQGCNgEBAQ
Message-ID: <54ED667E.1040602@dwalin.fsnet.co.uk>
Date: Wed, 25 Feb 2015 06:06:54 +0000
From: Sam Edge <cygwin@dwalin.fsnet.co.uk>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: chgrp in Windows
References: <1YQPDm-0LnoQa0@fwd06.aul.t-online.de> <A71B58D3-7EE1-4A47-8644-72CBE4294BC5@etr-usa.com> <EE855566-B4E8-4553-ABD4-15E8C0A6743D@etr-usa.com>
In-Reply-To: <EE855566-B4E8-4553-ABD4-15E8C0A6743D@etr-usa.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 25/02/2015 00:08, Warren Young wrote:
>> On Feb 24, 2015, at 4:57 PM, Warren Young <warren@etr-usa.com> wrote:
>>
>>> The result of chown I can see in Windows Explorer as the Owner but where is the group information?
>> It’s over on the Security tab of the same window you’re looking at: “Group or user names”.
> I just remembered that that tab isn’t always visible.  If you’re running a “home” version of Windows, there’s a pretty good chance you don’t even see this tab.
>
> If that’s your situation, you can un-hide this tab:
>
>   http://goo.gl/MDoBo1
>   http://goo.gl/C2p2N5
>
> That tab can also be hidden because:
>
> - a group policy setting disabled it
>
> - you’re working on a non-NTFS drive
>
> - you’re working on a shared network drive that doesn’t fully support Windows security
>
> etc.
>
I'm pretty sure Cygwin uses the NTFS "primary group" in which to store
the POSIX group ID.

Unfortunately, the owning group ("primary group" in
NTFS/Active-Directory-speak) for a file or folder isn't displayed at all
in the Explorer GUI, only the owner (user in POSIX-speak). To confuse
matters more, in Windows the owning user can actually be a group.

The primary group was only there to support things like the (moribund)
POSIX subsystem in Windows NT-series OSes and the network SFU (services
for UNIX) and is not used by the 'native' Windows subsystem at all,
although it is propagated through the CIFS network filesystem which is
handy for us.

You'll need to add a bolt-on (like SFU I think) if you want to see a tab
on the Explorer security settings showing the primary group. Or just use
Cygwin ls. :-)

-- 
Sam Edge


-- 
Sam Edge


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

