This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bzr completely broken?


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@inf.ed.ac.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]