This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: How to fix file permission in CVS?


Mike Frysinger <vapier@gentoo.org> writes:

> On Friday 05 March 2010 12:17:19 Andreas Schwab wrote:
>> Mike Frysinger writes:
>> > On Friday 26 February 2010 10:08:04 Andreas Schwab wrote:
>> >> Mike Frysinger writes:
>> >> > you can also abuse the system by removing the file, committing the
>> >> > removal, then re-adding the file with the +x bits set.
>> >> 
>> >> That doesn't work.  When the file is committed the x bit is taken from
>> >> the file in the Attic.
>> > 
>> > are you sure ?
>> 
>> I've tested it.
>> 
>> >  ive used this trick many times and havent seen this behavior.
>> 
>> Perhaps there is a difference in behaviour between local and remote
>> repos.
>
> so you've tested local repos and see +x preserved.  ive used this trick on a 
> few remove cvs servers but never locally (since local cvs is largely useless).

I'd rather guess it depends on the server version.  Even with the :fork:
method there is no way to fix the +x bit with the version of cvs I'm
using.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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