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

Re: windows location of config files (was: Re: config files on Windows)

From: Kirby C. Bohling <kbohling_at_birddog.com>
Date: 2002-03-27 20:14:51 CET

Branko Čibej wrote:
> Greg Stein wrote:
>> On Tue, Mar 26, 2002 at 05:59:37PM -0600, Jay Freeman (saurik) wrote:
>>> Branko:
>>> There is a small redistributable in the Platform SDK for this. It is
>>> SHFolder.exe, and can be installed alone (without IE4) to give
>>> SHFolder.dll,
>>> which contains that API. There is a HOWTO in MSDN about this: "HOWTO:
>>> Obtain the Location of Special Folders for a Migration DLL".
>> Yes, we should be doing this. Including, redist of that DLL. We should
>> still
>> dynamically run-time test its existence. If the DLL is not present, then
>> flat-out punt on per-user config files. (always use the registry tho)
>>> Personally, I'd like to see the system-wide configuration stored in
>>> the same
>>> directory as the svn.exe binary.
>> That is the best place for it. There is no reason to locate it in a
>> system
>> folder when the .exe's folder works very well (and is easily located).
> Please, let's not even think about that. It would mean that only someone
> who can install software on the machine can change the site-wide
> configuration. That's not nice.

        That's not true. A person would have to get have the intaller set the
permissions correctly to allow you to change the settings. However,
that is normally precisely true on Unix machines. If you don't like the
settings you just override them in your personal settings. It's how ssh
works, and it works out okay (some settings are non-override'able, but
that is a security policy thing).

        Besides, if there are 10 people who might use that copy of subversion, I
don't want you to change it on the other nine unless you important
enough to be able to install software. If you don't like some setting
change it in your personal settings, but don't change it for nine other
people unless you're responsible for the machine.

        Beyond all that, just copy/install the subversion into another directory
on the machine and setup your own "site wide" information make sure you
use that path and/or configure 3rd party software to use that copy of
subversion. If you don't have write permission to somewhere on the
machine how are you going to check out working copies?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 27 20:17:24 2002

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