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

Re: can't get post-commit.bat to execute in win32

From: Matthias Buecher / Germany <maddes.b_at_arcor.de>
Date: 2007-09-14 15:56:44 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I re-checked, the tab is really called "Security" in an english Windows.
It's also in Windows XP Pro, but not in the Home version (with a trick
it can be enabled in Home too).
Maybe you have to enable it in Pro with a setting I currently can't
remember.
Please search the web for this.

Have you checked that the service was installed correctly?
Best is to have a batch file for this, helps to avoid typos and you can
use it for your next re-installation of Windows.
I also found the two batch files I used for testing with SVN as a
service. They are attached, just remove the underscores from their
extension. Just have a look.

I prefer to run SVN as a daemon and only when I need it, because on my
Windows machine I'm the only person using it.
I could also use file: URLs but I want to have my typical svn username
in the repository's history.

Maddes

On 14.09.2007 02:55, AlarmChang wrote:
> I think "Security" label is in the windows server 2003 (or server serial)
> In Windows XP Pro cannot find "Security" label in folder properties.(mouse
> right click => Select properties)
> Or I missing operation ?
> ^__^
>
>
> maddes_svnlists wrote:
>> No, don't create a share for the folder (that's Windows network stuff).
>> Please remove them again.
>>
>> In the folder's properties go to the tab called "Security".
>> There you can set the folder permissions. Remember to note down its
>> current permissions (tip: screenshots).
>> Test with giving full permissions to System, Everyone or directly the
>> user who runs the service.
>>
>> Also make sure that the service was correctly registered (have a look at
>> the highly recommended SVN book at http://svnbook.red-bean.com/ )
>>
>> Maddes
>>
>> On 12.09.2007 16:54, AlarmChang wrote:
>>> COOL, Using command line C:\Program Files\Subversion\bin\svnserve.exe -d
>>> -r
>>> C:\repos
>>> to execute SVN services, that just work.
>>> But when I switch back to services, it just won't work.
>>>
>>> About th permission on folder "C:\repos"
>>> is that want me to share this folder("C:\repos") and set permission
>>> everyone
>>> able to change or
>>> just remove read only attribute?
>>> I did them both, but not work~~~.
>>> I feel getting closer ^___^
>>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6pMaUXXT+9wZdbURAt/qAJ4iKs5UhOvRDMBc2HA65hzf0pOgEgCfWdbx
hLTiKb3oyhW+1q9VQjUHbfE=
=m8/5
-----END PGP SIGNATURE-----

@REM See http://svnbook.red-bean.com/en/1.4/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.invoking.winservice
sc create svn binpath= "D:\Programme\Coding\SubVersion\bin\svnserve.exe --service -r D:\Repositories\SVN" displayname= "Subversion Server" depend= Tcpip
@rem start= auto
@pause

net stop svn
sc delete svn
@pause

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Sun Sep 16 19:21:48 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.