X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4A981A80.2080006@t-online.de> Date: Fri, 28 Aug 2009 19:57:20 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090403 SeaMonkey/1.1.16 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [1.7] Admins can write to readonly files References: <1MgyLg-0CvIW00 AT fwd04 DOT aul DOT t-online DOT de> <4A97B5DB DOT 6010008 AT gmail DOT com> In-Reply-To: <4A97B5DB.6010008@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Dave Korn wrote: > Christian Franke wrote: > >> For members of Admin group, Cygwin 1.7 allows to overwrite files without >> write permission, but Cygwin 1.5 does not. >> > > You are the root user, this is Unix. Of course you can overwrite files > without write permission. > > This is not true when 'chmod -w ...' was done before the upgrade to 1.7. Cygwin 1.5 sets R/O attribute, then open for write fails with permission denied also on 1.7. Christian -- 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