Would you please be so kind to ask questions in the available forum at sourceforge next time? Thanks! (I will forward this mail to the forum as well).
For now, please check that:
- the user or group that apache is running (such as 'apache') has read / write permissions to apache's homedirectory (which is usually something like /var/www/ , you can check in /etc/passwd)
- the 'HOME' environment variable is unset in the script that launches the httpd server!! (since svnadmin uses this env variable to locate where it could find / make the .subversion directory)
- php is NOT running in safe mode (since this would prevent php from reading / writing in any other directory than specified
>how it work?
>i create repository
>i create user
>repository folder created empty (example /home/subversion/svn)
>and i can't do anything with permissions
>if i try view users ot group privileges, i have an error (svn: Can't
>check path '/home/jaguar/.subversion': Permission denied
>(cmd: /usr/local/bin/svn list --non-interactive
>file:///home/subversion/svn3)
>Command used: /usr/local/bin/svn list --non-interactive
>file:///home/subversion/svn3)
>why? because folder "/home/jaguar/.subversion" is present and i change
>rights to read and write to this folder
>
>Jaguar.
>
>
>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is part of my svnmanager congiguration file:
"//Shell command's
$htpassword_cmd = "/home/subversion/.htpasswd";
$svn_cmd = "/usr/local/bin/svn";
$svnadmin_cmd = "/usr/local/bin/svnadmin";
In the config file, you should define the location of apache's htpasswd command (you know, the tool to create password files), instead of the .htpasswd file.
something like:
$htpassword_cmd = /usr/bin/htpasswd
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
trouble was in HOME env variable. :(
i think it must be writen in reame file bold font :) because it is important. not all http script disable HOME env variable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"the 'HOME' environment variable is unset in the script that launches the httpd server!! (since svnadmin uses this env variable to locate where it could find / make the .subversion directory) "
We're always having '/root/.subversion' permission problem & 'svnadmin create newrepo'(just create an empty folder) problem.
BUT all those problem solved after a restart machine.
Thanks!
Regards,
Jason
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jaguar,
Would you please be so kind to ask questions in the available forum at sourceforge next time? Thanks! (I will forward this mail to the forum as well).
For now, please check that:
- the user or group that apache is running (such as 'apache') has read / write permissions to apache's homedirectory (which is usually something like /var/www/ , you can check in /etc/passwd)
- the 'HOME' environment variable is unset in the script that launches the httpd server!! (since svnadmin uses this env variable to locate where it could find / make the .subversion directory)
- php is NOT running in safe mode (since this would prevent php from reading / writing in any other directory than specified
Regards,
Marijn Verkerk
Янковой Иван Иванович wrote:
>how it work?
>i create repository
>i create user
>repository folder created empty (example /home/subversion/svn)
>and i can't do anything with permissions
>if i try view users ot group privileges, i have an error (svn: Can't
>check path '/home/jaguar/.subversion': Permission denied
>(cmd: /usr/local/bin/svn list --non-interactive
>file:///home/subversion/svn3)
>Command used: /usr/local/bin/svn list --non-interactive
>file:///home/subversion/svn3)
>why? because folder "/home/jaguar/.subversion" is present and i change
>rights to read and write to this folder
>
>Jaguar.
>
>
>
this is part of my svnmanager congiguration file:
"//Shell command's
$htpassword_cmd = "/home/subversion/.htpasswd";
$svn_cmd = "/usr/local/bin/svn";
$svnadmin_cmd = "/usr/local/bin/svnadmin";
//Subversion locations
$svn_repos_loc = "/home/subversion";
$svn_passwd_file = "/home/subversion/passwd";
$svn_access_file = "/home/subversion/auth";
"
When i create new repository using "svnmanager" - in /home/subversion folder created empty folder. this is wrong, i think.
Hi Ivan,
In the config file, you should define the location of apache's htpasswd command (you know, the tool to create password files), instead of the .htpasswd file.
something like:
$htpassword_cmd = /usr/bin/htpasswd
heh, sorry. i am fool :).
i try use svnmanager now once again :).
trouble was in HOME env variable. :(
i think it must be writen in reame file bold font :) because it is important. not all http script disable HOME env variable.
Hi Marijn,
Could you please explain more about this point?
"the 'HOME' environment variable is unset in the script that launches the httpd server!! (since svnadmin uses this env variable to locate where it could find / make the .subversion directory) "
We're always having '/root/.subversion' permission problem & 'svnadmin create newrepo'(just create an empty folder) problem.
BUT all those problem solved after a restart machine.
Thanks!
Regards,
Jason