I want to fire "svn update" command from a php script , the user for which is "apache". How can I assign permissions to apache user to execute "svn update" ?
I would create a command in the sudoers file, and then use
The changes to
See the Sudoers manual for more info.
If you want tighter controls, make shell scripts that have the specific SVN commands and only allow Apache access to those. For example:
(and don't forget to