delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/03/05:49:00

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: <h4upu65mnaa8pjkjpq8qv9tgcksembv2q2 AT 4ax DOT com> <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>
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: <f5blivabzbq.fsf@calexico.inf.ed.ac.uk>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux)
MIME-Version: 1.0
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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