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

RE: Vista issue: copying protected files

From: Rae Andrews <Rae.Andrews_at_activenetwork.com>
Date: 2007-10-03 22:12:38 CEST

Nevermind, there must have been some kind of lock on the file or folder
that managed to survive numerous reboots. In the end I delete the files,
did a cleanup in Tortoise, updated the files from the repository, after
which I was able to copy modified versions of the files in from a
different folder (rather than attaching the database directly in that
same folder), and then commit to the repository.

 

Sorry for the bother.

 

From: Rae Andrews
Sent: October-03-07 12:25 PM
To: 'dev@tortoisesvn.tigris.org'
Subject: Vista issue: copying protected files

 

Hi,

 

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
'D:\Active\ACR\Database\_svn\tmp\text_base\ACR_Default_Data.MDF.svn-base
.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
denied.

 

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?

 

Thanks!

 

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

rae.andrews@active.com

www.TheActiveNetwork.com

 
Received on Wed Oct 3 22:42:34 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.