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: rebaseall failures, propsal


On Fri, Oct 08, 2010 at 09:43:32AM -0400, Jason Tishler wrote:
>On Thu, Oct 07, 2010 at 02:51:51PM +0200, Matthias Andree wrote:
>> Jason, could you possibly make sure that rebase (or rebaseall) makes
>> all files to be rebased writeable?
>
>Yes.
>
>> perlrebase does just that:
>> 
>> cat rebase$suff.lst | xargs chmod u+w
>> rebase -v -b $baseaddr -T rebase$suff.lst
>> cat rebase$suff.lst | xargs chmod u-w
>> 
>> ...which might work more or less the same for rebaseall.
>
>However, IMO, having rebaseall change the permissions of files seems
>wrong.  Nevertheless, if the consensus agrees with the above proposal,
>then I will change rebaseall accordingly.  Opinions?

I don't think there's anything wrong with trying to change the
permissions and then changing them back when done.  I don't think
you should be leaving them writable.

cgf

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