You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Richard Thomas <ri...@psysolutions.com> on 2008/01/23 17:17:52 UTC

Changes in Auth?

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