I want our developers (including moi) to be able to run svn update as user www-data on our server, for file/directory permissions.
My solution was to grant access to run sudo -u www-data svn with NOPASSWD in visudo. I also added an alias for this command, and named it svn to make it transparent for our developers.
This works, but I am asked for svn credentials every time (it doesn't save, even if I tell it to). I am thinking about adding the -i parameter, though I thought I should check with you guys first :)
How do I make this as smooth as running the svn update command normally?
Clarification: It is working now. I just don't want to enter my svn credentials every time I run svn update :)