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

Re: Check out rights under Vista / Windows 7

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 7 Oct 2010 12:55:42 +0200

On Thu, Oct 7, 2010 at 12:03, Pierre Viossat
<pierre.viossat_at_esi-group.com> wrote:
> Hello,
>
>
>
> I meet a problem while trying to check out a working copy in the ‘Program
> files’ folder of Windows 7 (same under Vista).

And every other Windows OS version if you're not logged in as an admin.

> This is a problem of rights (because it is required to have administrator
> rights) and TSVN outputs the message ‘folder not empty’ which is not correct
> as the target folder has not been created yet. But no matter for this
> message.
>
>
>
> I understand the problem, but when I try to create a folder ‘by hand’
> (within Windows explorer), a Windows dialog pops up to ask for
> administrative rights.
>
>
>
> So it is perhaps more likely a development tip rather than a bug, but is it
> planned to find how to ask Windows for admin rights while checking (and I
> suppose updating…) operations ?

There actually is a way to make this work, but I won't tell you.
Because putting a working copy in the program files folder is maybe
the worst location ever (ok, maybe the windows system folder would be
worse) for a working copy.
Seriously: put your working copy somewhere else (there's a 'documents'
folder which you might want to use instead).

The 'program files' folder is meant to get modified *only* during a
setup routine, and only if the setup application has elevated
privileges.
Modifying anything in that folder in any other situation should (and
now actually does) not work.

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=2668892
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-07 12:56:22 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.