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

Re: Vista: Error creating .svn folders on checkout.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-06-12 07:23:09 CEST

On 6/11/07, Daniel Posey <daniel_posey@hotmail.com> wrote:
> This is the point of UAC. It is bad practice to always run as root, but
> most Windows programs seem to require it. UAC is an attempt to limit what
> runs as root even for members of the Admin group. Even if you are a member
> of the Admin group, processes you started don't have Admin privileges by
> default.
>
> UAC tries to solve a real problem, but if you decide the solution is too
> broken, you can always turn it off.

No, UAC tries to work around the real problem. It doesn't solve it.
And: it's not really a barrier for bad programs either. See here:
http://www.microsoft.com/technet/technetmag/issues/2007/06/UAC/default.aspx

And the best part: the damn virtualization! MS added this so broken
program (the ones which require Admin privileges) can run on Vista.
But by doing so, it broke programs which played nice: if a program
tries to write to HKLM, but checks whether the write was successful
and then would tell the user that he doesn't have the correct
privileges to do so will not work anymore on Vista. Because Vista will
automatically let the write succeed, but redirect the write to
someplace else. Next time the program tries to access that registry
key, it's not there (because it was redirected earlier).

> Old programs that require Admin rights can be run by modifying their
> shortcut. Under compatibility, select "run as administrator". New programs

Yes, but do you see an option for "I already told you to run this as
Admin, so don't bother me every time I try to start this app"??

> can put this option in their manifest. Where does this leave shell
> extensions? It wouldn't make sense to put this in TortoiseProc's manifest
> because it usually doesn't need admin rights. Stefan's solution seems
> better. Vista users just need to not depend on Admin rights to access their
> personal files. A WC is by nature a personal file, not a system file.

TSVN already has this set in the manifest (run 'asinvoker').

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jun 12 09:09:56 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.