views:

18

answers:

1

I have created a SSH/FTP/email user and when I connect to my MTServer using SSH and that user I can't access /home/XXXX/domains/mydomain.com/.

I am using subversion and it's working fine, but I want it to be able to auto update my webpage ( on the MTServer ) everytime I commit.

The post-commit hook works fine, because had tested with echo "did run" >> error_log;

But svn update is not working.

How can I solve this ?

+1  A: 

Make sure that the group and user settings are properly configured. If SVN has a different user than the one you're logging in with, make sure all files are group-writable, and both accounts belong to the same group.

Paul McMillan
How can I know the SVN user ? or user group ?
Code Burn
`ls -al` will tell you who owns the files and what their permissions are.
Paul McMillan
It's the same owner and the same usergroup.
Code Burn
Got it to work thanks, I had just checked all permissions associated with the files in question.
Code Burn