X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 3 Aug 2011 09:18:32 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: bzr completely broken? Message-ID: <20110803071832.GG5647@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8fjg3756bfbgelfli94dmqhat97k5p5bmp@4ax.com> 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 Aug 2 15:25, Andrew Schulman wrote: > > On Aug 2 10:07, Andrew Schulman wrote: > > > > >> > $ rebaseall > > > > >> > ReBaseImage (/usr/bin/cygcrypt-0.dll) failed with last error = 6 > > > [...] > > > > chmod u+w /usr/bin/cygcrypt-0.dll > > > > ? > > Uh... yes. > > Thanks. It works now. Although I had to get more aggressive and run > > find /usr -iname \*.dll -o -iname \*.so | xargs chmod u+w > > After that, rebaseall completed successfully, and bzr now works again. > > Who maintains the rebase package? I wonder if it should automatically try to chmod u+w all of the > files it wants to operate on-- maybe just temporarily. Jason is the maintainer, with a bit of Chuck's and my help. I don't think that chmod +w is a good idea in general. I don't like to see tools fiddeling with permissions without asking. 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 That should be ok, shouldn't it? 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. 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