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

Changes in Auth?

From: Richard Thomas <richard.thomas_at_psysolutions.com>
Date: Wed, 23 Jan 2008 11:17:52 -0600

We have a script that has worked up to a recent update. The script would
sudo to a user who had access to the directories that contained our test
files and perform an svn update on them. Subversion would pull the
authentication information from the .subversion/auth/svn.simple
directory and update the directory to the latest version.

Yesterday I updated subversion from 1.4.2 to 1.4.2dfsg1 to try and fix
other problems we were having. Now, when the script is run, it asks for
authentication details. Calling the update directly as the user being
sudoe'd to works, as does entering the user's credentials at the prompt.
It's just running the script that causes the problem.

Anyone know if anything's changed that would cause this? And how to work
around it?

This is basically the script

    #!/bin/bash
    #deploy.sh
    if [ `id -u` -ne 33 ]; then
      sudo -u www-user /www/deploy.sh
      exit
    fi

    svn update /www/updatedir

Thanks

Rich
Received on 2008-01-23 18:18:18 CET

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.