Mailing List Archive

Permission problem on the Subversion db directory
Hello,

I'm having problem from what it looks like with permission on the Subversion db directory. My repository is owned by the user 'svn' which is in the 'svn' group. The user 'apache' which my web server is running under is also a member of the 'svn' group. Here is the output of the resulting failure to access the timeline on this project...

---------8<---------

Python traceback

Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start
real_cgi_start()
File "/usr/lib/python2.3/site-packages/trac/core.py", line 470, in real_cgi_start
dispatch_request(path_info, args, req, env, database)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 378, in dispatch_request
module = module_factory(args, env, database, req)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 154, in module_factory
pool, rep, fs_ptr = open_svn_repos(repos_dir)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 397, in open_svn_repos
rep = repos.svn_repos_open(repos_dir, pool)
SubversionException: ('Berkeley DB error while opening environment for filesystem /mnt/hd/svn/repositories/windss/db:\nPermission denied', 1600

---------8<---------

Any ideas?

Thanks.

----
Jeff Lanzarotta
Permission problem on the Subversion db directory [ In reply to ]
Is it possible that the group doesn't have sufficient perms for a directory
somewhere in that path? I note that the repos is in your mnt directory - it
isn't a network mount is it?

It is whispered that Jeff was heard, on or about 09/24/04 15:08 to say:
> I'm having problem from what it looks like with permission on the Subversion db directory. My repository is owned by the user 'svn' which is in the 'svn' group. The user 'apache' which my web server is running under is also a member of the 'svn' group. Here is the output of the resulting failure to access the timeline on this project...
>
> Python traceback
>
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start
> real_cgi_start()
> File "/usr/lib/python2.3/site-packages/trac/core.py", line 470, in real_cgi_start
> dispatch_request(path_info, args, req, env, database)
> File "/usr/lib/python2.3/site-packages/trac/core.py", line 378, in dispatch_request
> module = module_factory(args, env, database, req)
> File "/usr/lib/python2.3/site-packages/trac/core.py", line 154, in module_factory
> pool, rep, fs_ptr = open_svn_repos(repos_dir)
> File "/usr/lib/python2.3/site-packages/trac/core.py", line 397, in open_svn_repos
> rep = repos.svn_repos_open(repos_dir, pool)
> SubversionException: ('Berkeley DB error while opening environment for filesystem /mnt/hd/svn/repositories/windss/db:\nPermission denied', 1600

--
Chris Beck / Y.A.B.A. / Fungal Genomics / Concordia University / tel. ext. 5791
He needs a lang shanket spoon that sups kail wi' the de'il