Modify ↓
#5055 closed defect (invalid)
SubversionException: ("Can't open file '/home/svn/repos/format': Permission denied", 13)
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | web frontend/mod_python | Version: | 0.10.3.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 191, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 263, in _pre_process_request chosen_handler = f.pre_process_request(req, chosen_handler) File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request self.get_repository(req.authname) # triggers a sync if applicable File "/usr/lib/python2.3/site-packages/trac/versioncontrol/api.py", line 101, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 259, in get_repository repos = SubversionRepository(dir, None, self.log) File "/usr/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 292, in __init__ self.repos = repos.svn_repos_open(self.path, self.pool()) SubversionException: ("Can't open file '/home/svn/repos/format': Permission denied", 13)
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 by , 14 years ago
I have the same problem. Subversion runs as user bob, group bob, while Apache runs as www-data, user www-data. How do I go about fixing this? Do I chmod a+rw /var/svnrepos ? Not only does that feel like the wrong solution, but when subversion creates a new file, it wont create it with a+w permissions, so I'll continuously have to run chmod to ensure the permissions are maintained.
I'm assuming I've missed a step somewhere. Any help greatly appreciated!
Note:
See TracTickets
for help on using tickets.
Check that you (i.e. the user running the Trac server) have the right to read this and everything below /home/svn/repos.
In addition, if this Subversion repository is using the BDB backend (not recommended, see TracSubversion), you'll need the write right as well.
This is an installation issue, closing it.