I'm getting this error message when I click on edit Group Privillage - Repository Admin.
svn: Can't check path '/root/.subversion': Permission denied (cmd: /usr/local/bin/svn list --non-interactive file:///data/repos/testload01)
Command used: /usr/local/bin/svn list --non-interactive file:///data/repos/testload01
#note:
- /data/repos/testload01 is my repository folder name
- NO problem with /usr/local/bin/svn list --non-interactive file:///data/repos/testload01
- NO problem I have no problem running http://localhost/svn/testload01
Kindly help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Somehow the command to retrieve the information from the repository tries to open the subversion configuration file from the root user's config directory, which isn't allowed.
If you haven't solved this problem, I would start to make sure that the apache webserver user isn't the root user and has it's own (writable) home directory. This is specified in the apache webserver configuration and the password file in your etc directory.
Kind regards,
Marijn Verkerk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm getting this error message when I click on edit Group Privillage - Repository Admin.
svn: Can't check path '/root/.subversion': Permission denied (cmd: /usr/local/bin/svn list --non-interactive file:///data/repos/testload01)
Command used: /usr/local/bin/svn list --non-interactive file:///data/repos/testload01
#note:
- /data/repos/testload01 is my repository folder name
- NO problem with /usr/local/bin/svn list --non-interactive file:///data/repos/testload01
- NO problem I have no problem running http://localhost/svn/testload01
Kindly help
Hi there,
Somehow the command to retrieve the information from the repository tries to open the subversion configuration file from the root user's config directory, which isn't allowed.
If you haven't solved this problem, I would start to make sure that the apache webserver user isn't the root user and has it's own (writable) home directory. This is specified in the apache webserver configuration and the password file in your etc directory.
Kind regards,
Marijn Verkerk
Im having the same error.
My apache is running as user apache group apache.
using version 1.03 on gentoo linux.
Please help..
Please make sure that the home directory of the apache user is something else than /root, see the /etc/passwd file!
Marijn
svn var # cat /etc/passwd | grep apache
apache:x:81:81:added by portage for apache:/var/www:/sbin/nologin
The apache home dir is /var/www , own by apache.
svn var # ls -la /var/www
total 0
drwxr-xr-x 3 apache root 80 2007-12-07 00:05 .
drwxr-xr-x 13 root root 360 2007-12-13 17:47 ..
drwxr-xr-x 7 root root 168 2007-12-26 08:32 localhost
Marijn
Is there anything else I should check? I'm kinda stuck with this and it's quite important..
Hi again,
Could you please su to apache (as root):
su apache -
and then run the svn command manually?
Does this work?
Could you show me your environment variables (export's output)?
Thanks!
Marijn
P.S. jlchannel, are you following this? Have you got it solved?
I cant su to the apache account:
svn ~ # su apache
This account is currently not available.
HOWEVER, the bug is gone and the only thing i did was rebooting the machine since i added RAM.
Not getting this error again...
I've got the feeling that it's something with environment variables since this is what could have change from the last time the server booted.
You will probably know better than me. :)
Thanks anyway.
Great news!
Marijn