delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=nzx0XMbPr4S8gaPc/Tl5RzQOvqFi/FYsuV8031mby2NC6flERm+3O | |
7Ddgz6SmxlVxurRPdjuUCi61EGpwkM9p1M4ZaXJduMzEiaRH+2q8wVFL2zcOL01K | |
p7KOXvb5EC+/BS75Ac+b91GJWuI4L3rqPtBN36pDVEWyp0uFYwGTsU= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=nVaWIFMsQYn5AVbcUwOeOmXq5ek=; b=t9EFpsIU+gnOTZckwrySY4gu/zp+ | |
Eulp6jDCWPJLfBm1veePu8Tl6/P2Z/RszsiyGyOUE4ezndsFR80Cw35i7BnefjHl | |
N7OFxqhFtzyCXUb+Gs6W1bmuVoyKZD7x5bR9qc6YppPFlRn8fGnkuR5o9RF74Hgy | |
nyz3l53LuAQkG14= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Mon, 5 May 2014 15:59:28 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with "None" Group on Non-Domain Members |
Message-ID: | <20140505135928.GK30918@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <536796E4 DOT 2090009 AT breisch DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <536796E4.2090009@breisch.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--3CAnR4CLEnEWqRMR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On May 5 09:49, Chris J. Breisch wrote: > Hi, >=20 > I noticed this over the weekend. It's probably working as designed, > however. And may have even been noticed by others before. >=20 > As has been noted in the past, if your machine is not a Domain > member, your account gets assigned to the "None" group. And it's > your default group as well. The problem is that the "None" group > isn't very well behaved when it comes to permissions. >=20 > Example below. >=20 > $ mkdir none-group-test > $ cd none-group-test/ > $ touch foo > $ ls -l foo > -rw-rw-r-- 1 Chris None 0 May 5 09:35 foo > $ chmod 600 foo > $ ls -l foo > -rw-rw---- 1 Chris None 0 May 5 09:35 foo > $ chgrp Users foo > $ chmod 600 foo > $ ls -l foo > -rw------- 1 Chris Users 0 May 5 09:35 foo As far as Cygwin tools are concerned, the None group is just a normal group like any other group. The behaviour you're observing looks a bit like either your group file is not ok, or you're testing this with the noacl mount option. Or, probably more likely, you're suffereing from the default ACL settings propagated from the parent directory. When Cygwin sets the POSIX permissions, it does exactly the same thing for the primary group in your token, whether it's None or any other group. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --3CAnR4CLEnEWqRMR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTZ5lAAAoJEPU2Bp2uRE+gEzUQAInlFV27Q3/iRQN1W7z/woLI CCqu38PotgQSPUfkxcy2uQ0trNN49ve3dMPAvjTRMCeQ2UTey1JsyjAhuJzMljb/ YSxLO25zDewwqCFy8EYLc/aLpcaTf6sbl+0rIdDet1CicKG1Efqipilwl0OrkUv5 6T8pRlcb9Etc0vpiAWNWWiINsBkWe2A0Wo3OFrw0fI6SkJ1sbn6zP6CGiqXinXyL JaNbogPUnisk7ZnN7/3LMwjVeLIApQXmgXz3EjCvlP4el4KjxX5qn/f3pBcWoGw7 be34Iu9CdDD/rH264f29ILsRnlu3aIBX60xA2Qy2pn0g7zfWgN02MMwEJmHXjvRR /3H2cyYNPmIQY/WT7kik7VFBPgyLsOYQJgv3hohGIJnfIB6oPX4K9ZGAYBCkSyx5 2Yb+RCIw4i/kzGr202SPUWXJZ9bvqVQO0C0rUQc5a+6FzLxVqlkj8U17QfHL3NW4 UFi+ydpd7+EAybWN+vuvxpYbXBdSPQHuzZv2y5+buNxeFWA4aqdomqWvyCFqtLPj Ow+mmNnnxBCJtruvX1G20jhgjp1mBpex6wmKMOGweGsSUnUiPwfAQHsscdj7ingt w+DkF6k2o8Ii7Rxol0rXX4dm7nasK+ufiCct/ErKYnhtq9AkeRo92Ocg+LZY1G6u MVeX/Zhho9ujmGAI75zE =s5H4 -----END PGP SIGNATURE----- --3CAnR4CLEnEWqRMR--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |