delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/01/04:13:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 1 Jul 2008 10:13:00 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: setting default group and/or disabling CYGWIN ACL behavior
Message-ID: <20080701081300.GG5038@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6 DOT 2 DOT 5 DOT 6 DOT 2 DOT 20080701020152 DOT 01cc2ee0 AT flumedata DOT com>
MIME-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jul  1 02:07, starlight AT binnacle DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019