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

Re: Bug? On export of a file, the file is exported but not renamed/moved to the desired name/location.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 12 Apr 2010 19:17:32 +0200

On 12.04.2010 09:56, Francois Grieu wrote:
> Hi,
>
> I'm trying to export a single source file of a former revision from a
> project, to local directory C:\rrr\sss, and get:
> Command: Export
> Error: Can't move 'C:\rrr\tempfile.tmp' to 'C:\rrr\sss': Accès refusé.
> Finished!:
>
> The error means "access denied". The target system is a French XP SP3,
> with Tortoise SVN 1.67. Here is exactly what I'm doing:
> - logged with full rights
> - create directory C:\rrr and sub-directory C:\rrr\sss
> - tortoiseSVN repo browser
> - navigate in repository browser to
> file:///S:/blah/blah_repo/trunk/sources [on a SMB share]

Repository on an SMB share?
I hope you run 'svnadmin verify' at least once a day and have a good backup.

> - select line with file mysource.c
> - right-click / show log
> - select line with the revision I want (250)
> - right-click / export; URL of repository is
> file:///S:/blah/blah_repo/trunk/sources/mysource.c
> - click on ... button for Export directory, navigate to C:\rrr\sss ,OK;
> Export directory is C:\rrr\sss
> - leave other defaults (Fully recursive, Revision 250), OK
> - the export window opens, "Command: Export" shows immediately
> - then a few seconds later "Error: Can't move 'C:\rrr\tempfile.tmp' to
> 'C:\rrr\sss': Accès refusé."
>
> The file that I want has been exported from the repository into
> C:\rrr\tempfile.tmp; I can rename it manually to mysource.c and move it
> to C:\rrr\sss as C:\rrr\sss\mysource.c with no trouble.
>
> Am I missing something obvious or is this a bug?

* make sure your virus scanner doesn't interfere and lock the temp file
for scanning while svn tries to rename it
* make sure the folder you created has full access rights for the user
you're logged in as. If you're on Vista/Win7, remove the 'inherit access
rights' from the folders since the c: drive has reduces access rights
and those have priority over the rights you set on the subfolders if
that option is active.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2576987
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-12 19:17:46 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.