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 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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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/