[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn_io_file_rename preserves *destination* file permission on Windows

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-11-15 23:29:39 CET

Ivan Zhakov wrote:
> On 11/16/05, Branko Čibej <brane@xbc.nu> wrote:
>
>> Ivan Zhakov wrote:
>>> nteresting note: Windows *allow* rename read-only files, but fail if
>>> target is read-only. Could anybody fix me? Brane, what do you think?
>> ikes. It looks like this is actually the case. If that's true, we'd
>> really only have to (optionally) make the destination read-write, and
>> really rip out the rest of the code...
>>
>> Wait a sec, let me try that. (I still can't remember why I looked at the
>> target's read-only-ness... possibly it had something to do with the
>> files in .svn, too, although I've no idea what...)
>>
> Sorry, I have already commited in r17366. So we need fix something after commit.
>
Yep, I saw your commit after I wrote that. It's more or less exactly
what I would've done. :)

I'm running tests on Windows now, and will run some manual tests to
double-check.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 15 23:30:35 2005

This is an archived mail posted to the Subversion Dev mailing list.