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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=ylHCzyJgYvEWM5gHb8wutMxBCnp8ElI+wV2g0a85wjt TbjD4FfcdsG5UdKyHd0C+CJ4PGm7ELrTttX7xOvdZY/glhYfbedrAi5IbvHygioA hnc2UCCnRNn4FHXYTwQ/ib5KzRc4TBnENKpZMcn4B/DKoPp6hgyNeIdBrfSybvXg = 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:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=WTewSJAWwPBMwi34tnm0JNl/G7M=; b=CMtop4Tnsy2OqY7VH ME9o32gzEoyhGqPkNiqC259ZnRP4ZDKSOYtZyTgjyzPIETBndCPzBu+Ov7rgmnA9 hiRLe13FTo8uR0omW3Bl/Ze4L5sO58rCqHvp9xNCV3kvCcSfw3imy/JdaOjdm5Wj DRerkSgURLoxH70iYo1ED5/+CU= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f169.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jQeBta9sp3hKBdRinKZKSNZyoOxoQX4y8NOo0T2H38w=; b=CtsQKBx7gZODnt/Q2pRIzySk2sj2kxrGIKf2jonmhT1ljkRJuJAxlX9k6JcroXeNGf RG8iyqEFSHubmlPAk7NGtW2v7Xv0OOT2m993CbSjanq5VyOKKIDzq3S6+YjGAUsfGQJM OsZbI7WGqPFsB+5SkdYtwKumABl5BDVn24xPI9dyjmwNb5ayzqI1lychYCJ8i/WHop9E 2lfGSwKug5otzHO/lmEXNdKLoXGL9eblvqLjXCifa0WR5GFrpdLOsfPLvkf9yssbKY/i es0ScbA4he7f7ocTM/nD9cyg+xPCgttBVO4rPXNxojc3N0L2ljZPXgsvU+UpcV2hHYqH cMiA== X-Gm-Message-State: ALoCoQnc6sl4uoVNaXOH/UTzgbxWwQe3Q+RD7NalW4zsRHkejoEWCMS1wz70144DzbBki9y6Pw0P X-Received: by 10.43.58.19 with SMTP id wi19mr17069421icb.53.1399400555170; Tue, 06 May 2014 11:22:35 -0700 (PDT) Message-ID: <53692867.4060305@breisch.org> Date: Tue, 06 May 2014 14:22:31 -0400 From: "Chris J. Breisch" User-Agent: Postbox 3.0.9 (Windows/20140128) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Microsoft Accounts (was Re: Problem with "None" Group on Non-Domain Members) References: <20140505135928 DOT GK30918 AT calimero DOT vinschen DOT de> <53679D5C DOT 5030209 AT breisch DOT org> <20140505144745 DOT GA6993 AT calimero DOT vinschen DOT de> <5367ACED DOT 40409 AT breisch DOT org> <20140505154230 DOT GB7694 AT calimero DOT vinschen DOT de> <5367B990 DOT 8050907 AT breisch DOT org> <20140505165723 DOT GM30918 AT calimero DOT vinschen DOT de> <5367DEE5 DOT 5010407 AT breisch DOT org> <20140506125203 DOT GO30918 AT calimero DOT vinschen DOT de> <53691564 DOT 1070200 AT breisch DOT org> <20140506171626 DOT GZ30918 AT calimero DOT vinschen DOT de> In-Reply-To: <20140506171626.GZ30918@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Corinna Vinschen wrote: > On May 6 13:01, Chris J. Breisch wrote: >> Corinna Vinschen wrote: >>> Other than that, I'm open to discuss the necessity(?) to override >>> the primary group by default. But, in fact, I'm not sure this really >>> makes sense. Linux systems default to creating a user-specific group >>> account and using that as the user's primary group for years. The >>> Windows Account technique isn't quite as nice, but admittedly, it >>> does its job just as well. >> Yes, I've experienced that on Linux, but I don't recall having these >> file permission issues there. Perhaps I just never noticed though. > > No, it *is* different, On Linux you get a user account called "Chris" > and a group account called "Chris", and they are different because users > and groups are totally different beasts on POSIX systems. You can have > a user with uid 42 and a group with gid 42 and they are still different. > > On Windows, users and groups are identified not by uid/gid, but by > their SID. The SID is a unique value, but other than that, a SID can > be a user or a group and in lots of cases Windows doesn't care. > A group can be owner of a file and a user can be the group of the file, > it just doesn't matter to Windows. > > The permission "problem" you're seeing is a result of that. Your user > *and* your primary group are both your user's SID. Therefore the same > account is user and primary group at the same time. Therefore, if > the file is created, it gets created with an ACL with user and group > being the same account. Therefore the POSIX translation of the user > and group permissions on the file are always the same. > > Does this clear it up? Yes, that makes complete sense. Thank you again. -- Chris J. Breisch -- 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