X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 5 Apr 2012 14:42:12 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: chmod problem Message-ID: <20120405124212.GR13898@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20120405094607 DOT GL13898 AT calimero DOT vinschen DOT de> <20120405122533 DOT GP13898 AT calimero DOT vinschen DOT de> <20120405122803 DOT GQ13898 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 Apr 5 05:37, Karl M wrote: > On Apr 5 14:25, Corinna Vinschen wrote: > > It works still fine for me if I don't use the same Windows group as > > owner and as group of the file. > > Btw., there were no changes at all between 1.7.10 and 1.7.12 which > would even remotely touch chmod or chown behaviour on files. > > > If you do use the same windows group as owner and group of the file > > do you get the same thing as me? > > I still don't understand why doing the chmod command interactively is different. It works this way interactively as well as in a script: $ touch komisch $ ll komisch -rw-r--r-- 1 corinna vinschen 0 Apr 5 14:40 komisch $ chown administrators.root komisch $ ll komisch -rw-rw-r-- 1 Administrators root 0 Apr 5 14:40 komisch $ chmod 600 komisch $ ll komisch -rw-rw---- 1 Administrators root 0 Apr 5 14:40 komisch $ Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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