X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 1 Jul 2008 10:13:00 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: setting default group and/or disabling CYGWIN ACL   behavior
Message-ID: <20080701081300.GG5038@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <6.2.5.6.2.20080701020152.01cc2ee0@flumedata.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6.2.5.6.2.20080701020152.01cc2ee0@flumedata.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Jul  1 02:07, starlight@binnacle.cx wrote:
> Constantly have to wrestle with CYGWIN imposed ACLs on files I 
> create.  It's bothersome to constantly issue 'cacls /t' and 
> 'icacls * /reset /t' commands to strip out the CYGWIN overrides 
> after receiving complaints from others who can't access the 
> files.  No one is in the Administrators group.

chmod?  setfacl?  umask?

> The best solution would be to just turn it off (!) so that 
> normal Windows ACL inheritance works the way it does outside of 
> CYGWIN.
> 
> A possible work-around if the above ideal solution is 
> unavailable would be to have some way to change the group id to 
> something other than "None".

Everybody is in the None group if you don't have a DC.  So I
don't see the problem if you use a umask matching your needs.

>   Can't find a 'newgrp' command and 
> the '/etc/passwd' file and 'bash' login syntax clearly do not 
> support this.

bash has nothing to do with that, of course.  As for /etc/passwd,
you didn't read the user's guide, apparently:
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-files

>   Don't see any way to set the process default 
> group in Windows without running a domain controller.

There is no way.  That doesn't mean we can't rectify this in
Cygwin (within the imposed Windows rules).  See above.



Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

