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

Somewhat corrupted repository: Berkeley DB Permissions errors on SVN 1.0.2

From: Paul Oppenheim <poppenhe_at_umich.edu>
Date: 2004-05-26 17:17:45 CEST

Hello SVN'ers,

I'm having a problem with an SVN 1.0.2 repository that is living on a
FreeBSD 5.2 server. My team's repository is administered by a user
named 'svn' and has a group of 'Proto2004'. Two users that are also in
group 'Proto2004' are 'poppenhe' and 'woodardj'. When user 'poppenhe'
makes a commmit, user 'woodardj' cannot then use the repository.

I've examined the repository, and the problem seems to be a permissions
problem. The only time the permissions were manually modified was when
the repository was created. After creation, I did a 'chown -RP
svn:Proto2004 haquery/' to make the repository accessible to the users
of the group. Is that incorrect? The access method is restricted to
svn+ssh.

following are the current permissions of db/ -- i did none of this by
hand, except what I mentioned above. That is, these permissions are set
by svn.

[vcr:~/repositories/haquery/db] svn% ls -alF
total 5430
drwxrwx--- 2 svn Proto2004 512 May 26 07:05 ./
drwxrwx--- 7 svn Proto2004 512 May 15 02:54 ../
-rw-rw---- 1 svn Proto2004 1740 May 15 02:54 DB_CONFIG
-rw-rw---- 1 svn Proto2004 49152 May 26 07:05 changes
-rw-rw---- 1 svn Proto2004 32768 May 26 07:05 copies
-rw-rw---- 1 svn Proto2004 1046269 May 26 04:19 log.0000000001
-rw-r--r-- 1 poppenhe Proto2004 1040863 May 26 06:12 log.0000000002
-rw-r--r-- 1 poppenhe Proto2004 741400 May 26 06:50 log.0000000003
-rw-rw---- 1 svn Proto2004 32768 May 26 07:05 nodes
-rw-rw---- 1 svn Proto2004 32768 May 26 07:05 representations
-rw-rw---- 1 svn Proto2004 32768 May 26 07:05 revisions
-rw-rw---- 1 svn Proto2004 2392064 May 26 07:05 strings
-rw-rw---- 1 svn Proto2004 32768 May 26 07:05 transactions
-rw-rw---- 1 svn Proto2004 32768 May 26 07:05 uuids

and the verify for user 'svn':

[vcr:~/repositories] svn% svnadmin verify haquery/
svn: Berkeley DB error while opening environment for filesystem
haquery/db:
Permission denied

and the verify for user 'poppenhe':

[vcr:~svn/repositories] poppenhe% svnadmin verify haquery/
* Verified revision 0.
* Verified revision 1.
* Verified revision 2.
* Verified revision 3.
* Verified revision 4.
* Verified revision 5.
* Verified revision 6.

thank you for consideration!

- paul oppenheim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 26 17:18:23 2004

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.