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

Taking a nightly snapshot with cron

From: Jeff Lanzarotta <delux256-subversion_at_yahoo.com>
Date: 2005-09-28 15:54:29 CEST

Hello,

I'm running subversion 1.2.3 on SuSE Linus 9.3. svnserve is running
through xinetd under the user 'svn'.

Ok, what I'm trying to do is create a nightly snapshot of a repository
using a script running through cron.

The script is very simple. It looks like:

----------8<----------

#!/bin/sh
/usr/local/bin/svn update /mnt/winnt/LatestAndGreatest/"

----------8<----------

Well the problem that I have when trying to run this script is that it
requires that I enter a password for 'root'... Here is the output:

----------8<----------

suse:/media/hdc1/scripts # ./latestWindss
Retrieving the latest and greatest Win/DSS version...
/mnt/winnt/LatestAndGreatest/ 0 1024 517b 1534176 81152 81152 4096 0 0
Authentication realm: <svn://suse:3690> WinDSS Repository
Password for 'root':

----------8<----------

Since cron is running these jobs as 'root', I guess that is why
svnserve is requesting 'root's password...

Is there anyway of automating this to not ask for a password? Or, is
there a better way of doing this? All I want is a nightly snapshot of a
respository... Any ideas?

Regards,

-Jeff

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 28 15:57:39 2005

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.