Hi,
Thanks for the guess, but the owner of the trac project is apache!
drwxr-xr-x 3 apache apache 4096 Jun 1 00:46 trac
Now one thing I did notice is that your /format permissions allow for
writing, whereas subversion makes that file read-only:
-r--r--r-- 1 svn svn 2 May 15 05:53 /format
A quick permissions change does not alleviate the situation! I've
been pawing over this machine to make sure that it really really
isn't running SELinux, and I'm 90% confident that it isn't, but since
I'm completely ignorant of this technology I've had to study up on it
first.
Thanks in advance for help!
Luke
On Jun 1, 2006, at 8:12, James B. Byrne wrote:
On Thu, June 1, 2006 03:19, Luke Nihlen wrote:
Hi,
I added the apache user to the svn group. So the repository lives
at /home/svn/project (name changed for confidentiality).
I am able to view the trac homepage at www.server.com/trac but when I
try to access the timeline or anything related to the repository I
get the following traceback:
Trac detected an internal error:
("Can't open file '/home/svn/project/format': Permission denied", 13)
Assuming something like this is your directory setup:
drwxrwxr-x 7 svn svn 4096 2006-03-23 15:32 svn
drwxr-xr-x 11 trac trac 4096 2006-04-25 13:27 trac
and that the permissions on ./svn/format are no more restrictive than:
-rw-rw-r-- 1 svn svn 2 2006-03-23 15:32 format
and that you are using the default fsfs respository type; then my
guess is
that the trac project owner is not a member of the svn group.
# grep svn /etc/group
svn:x:501:trac,apache # groupid 'svn' is the primary group for
userid 'svn'
trac:x:502:apache # groupid 'trac' is the primary group for
userid 'trac'
My httpd/conf.d/trac.conf file looks like this:
<VirtualHost aaa.bbb.ccc.ddd>
DocumentRoot /path/to/trac
ServerName trac.harte-lyne.ca
<Directory /path/to/trac>
allow from all
Options +Indexes
</Directory>
Alias /trac/ /usr/share/trac/htdocs
Alias /cgi-bin/ /usr/share/trac/cgi-bin
### Tell Trac where the project directory is located
<Location "/cgi-bin/trac.cgi">
SetEnv TRAC_ENV "/path/to/trac"
</Location>
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /path/to/trac
SetEnv PYTHON_EGG_CACHE /path/to/trac/cache
PythonOption TracUriRoot /
AuthType Digest
AuthName "ca.harte-lyne"
AuthDigestDomain /
AuthDigestFile /path/to/trac/conf/trac.htdigest
Require valid-user
</Location>
SSLEngine on
SSLCertificateFile /usr/share/ssl/certs/traccert.pem
SSLCertificateKeyFile /usr/share/ssl/private/trackey.pem
ScriptAlias cgi-bin "/usr/share/trac/cgi-bin"
</VirtualHost>
I hope that this information helps you find a solution.
--
*** e-mail is NOT a secure channel ***
James B. Byrne mailto:ByrneJB.<token>@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3CE delivery <token> = hal
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac