[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problems after upgrade 1.1.4 -> 1.2.0

From: Felix Brack <fb_at_ltec.ch>
Date: 2005-06-23 14:36:58 CEST

I used subversion 1.1.x for quite a while together with 'tortoise' and
'websvn'. After upgrading to subversion 1.2.0 'tortoise' still works,
but I do have permission problems with 'websvn'.
My apache 2 server runs as user 'nobody' and group 'svn'. 'nobody' is
member of group 'svn'.

I use the following PHP script to reproduce the error:

01 <?php
02 $fp= popen("/usr/local/bin/svn list 'file:////home/svnroot/repositories/test/'", "r");
03 // $fp= popen("/usr/local/bin/svn list 'http://svn.jupiter.ltec/svn/test/'", "r");
04 // $fp= popen("ls -l", "r");
05
06 while (!feof($fp)) {
07 $line= fgets($fp);
08 echo "Line: ${line}<br>";
09 }
10
11 pclose($fp);
12 ?>

If this script is executed by apache, I can't see any output and
apache's error log says:
'svn: Can't check path '/root/.subversion': Permission denied'
Why is something (?) accessing this path?

When I open a console on the server hosting the svn repository,
log in as 'nobody' and run the script above through the PHP
interpreter, everything is fine.

There is no change if I replace the 'file:' syntax by the 'http:'
syntax.
The test command 'ls -l' works fine, no matter if I use apache or the
console to invoke it.
Even after reading http://subversion.tigris.org/faq.html#reposperms
and http://svnbook.red-bean.com/en/1.0/ch06s05.html and don't have any
idea what I'm doing wrong.

-------------------------

Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 23 14:39:45 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.