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

Vista issue: copying protected files

From: Rae Andrews <Rae.Andrews_at_activenetwork.com>
Date: 2007-10-03 21:25:17 CEST



We store a detached SQL Server database in SVN (the MDF and LDF files).
I periodically attach the database in SQL Server, do some updates,
detach the database, and commit the files back to the repository.


On Vista (with UAC enabled) I am unable to commit to the repository, I
assume because these file types are "protected" and require
Administrator privileges to copy.


When I try using the latest release of Tortoise (1.45 build 10425) I get
the error message:


Can't copy 'D:\Active\ACR\Database\ACR_Default_Data.MDF' to
.tmp': Access is denied.


When I try using the latest build of Tortoise (1.4.99 build 10848) I get
the error message:


Can't open file 'D:\Active\ACR\Database\ACR_Default_Data.MDF': Access is


I can manually copy the file in explorer, but have to run the gamut of
Vista approval dialogs to do so.


If I set TortoiseProc.exe to "Run as Administrator" to try to allow it
to run with administrator privileges, then I am unable to commit
anything to the repository as I get the message "The requested operation
requires elevation" as soon as I try.


Any suggestions?




Rae Andrews

Development Manager, Active Government Solutions

The Active Network, Ltd.


6400 Roberts Street, Suite 160

Burnaby, BC V5G 4C9

Tel 604.438.7361 Ext. 1621

Fax 604.432.9708



Received on Wed Oct 3 21:38:36 2007

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

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