[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: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-11-14 20:06:11 CET

> This behavior was added in r14304 by Brane for fix issue #2278. I
> understand for what we clear destinition file's read-only.
> On Linux mv doesn't preserves destination permisions, why we have
> different behavior on Windows?

To jump in:

On unix, you can rename over a read-only file. The *source*
permissions in this operation are preserved (and -ofcourse- attached
to the destination after the rename).


Received on Mon Nov 14 20:09:07 2005

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