X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_BZ X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com Subject: Re: bzr completely broken? References: <4E3762DF DOT 3040601 AT cygwin DOT com> <3euf37dhcv87d2ahbsmnq0f456pkob1vvo AT 4ax DOT com> <20110802132559 DOT GA9043 AT ednor DOT casa DOT cgf DOT cx> <20110802144015 DOT GB8652 AT calimero DOT vinschen DOT de> <8fjg3756bfbgelfli94dmqhat97k5p5bmp AT 4ax DOT com> <20110803071832 DOT GG5647 AT calimero DOT vinschen DOT de> From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson) Date: Wed, 03 Aug 2011 10:48:25 +0100 In-Reply-To: <20110803071832.GG5647@calimero.vinschen.de> (Corinna Vinschen's message of "Wed, 3 Aug 2011 09:18:32 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-IsSubscribed: yes 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 Corinna Vinschen writes: > . . . > We're working on a new release of rebase anyway. This new release > checks for writability and prints just a warning without stopping > dead in its track: > > /usr/bin/foo.dll: skipped because not writable > Otherwise, what we can do is to open the file with > FILE_FLAG_BACKUP_SEMANTICS. This would allow you to rebase DLLs > without write permissions if you have admin privileges. A combination of the two would be best, I think. That is, try FILE_FLAG_BACKUP_SEMANTICS, so for Admins it will work, and if _that_ fails print the message. Thanks, ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 651-1426, e-mail: ht AT inf DOT ed DOT ac DOT uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -- 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