delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/03/11:01:55

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,SPF_HELO_PASS,TW_BZ
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: bzr completely broken?
Date: Wed, 03 Aug 2011 11:01:09 -0400
Lines: 22
Message-ID: <aloi37l9ftkgm5a094rd22qbjd5e614kj8@4ax.com>
References: <a91qu6hddkpp43egork4jo0se47qinsr79 AT 4ax DOT com> <ropd375qtu182a20e29mal72omo8pslf4d AT 4ax DOT com> <4E3762DF DOT 3040601 AT cygwin DOT com> <3euf37dhcv87d2ahbsmnq0f456pkob1vvo AT 4ax DOT com> <20110802132559 DOT GA9043 AT ednor DOT casa DOT cgf DOT cx> <tv0g371iv362rtvfts32j3d4b954jn4ibv AT 4ax DOT com> <20110802144015 DOT GB8652 AT calimero DOT vinschen DOT de> <8fjg3756bfbgelfli94dmqhat97k5p5bmp AT 4ax DOT com> <20110803071832 DOT GG5647 AT calimero DOT vinschen DOT de> <f5blivabzbq DOT fsf AT calexico DOT inf DOT ed DOT ac DOT uk> <20110803103434 DOT GC1791 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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  3 10:48, Henry S. Thompson wrote:
> > 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.
> 
> I agree.  I checked that in.

Thanks.  I think that works.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019