views:

36

answers:

2

Trying to version control my project that's sitting in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs using TortoiseSVN. I can't commit it though because Tortoise doesn't have permission to create the .svn file in that folder (anywhere in Program Files?). How can I get around this?

A: 

Run Tortoise as Administrator mode.

Suraj Chandran
Thought about that already, but it's shell-integrated. I have to right-click and go SVN Commit just to get to it.
Mark
are you logged in to the system as Administrator?
Suraj Chandran
I have administrator privileges, but I'm not logged in as 'Administrator'.
Mark
+2  A: 

Set the permissions on that folder accordingly: right-click on folder, chose "properties". The "security" tab shows you which user has full access - add yourself to that list.

After that, you (the logged on user) have full access to that folder and you can checkout/update without problems.

Please do not run Tortoise or explorer in Administrator mode!

Stefan
An error occurred while applying security information to: C:\... Access denied. Why is it denying me? I have admin rights!
Mark
...seems I didn't own some of the subfolders, so I had to re-grant myself ownership and apply it to the subfolders too. All these "security" features are highly annoying.
Mark
And now SVN is telling me I have to run 'clean up' first, but of course that fails too. Completely ridiculous. So I had to check everything out again, manually copy over the unversioned files, and re-commit. Just to version-control my website. And people wonder why not everyone uses SVN...
Mark
And the empty folder *I* just created, *I* don't own... I don't get it. What security benefit is this?
Mark