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

Re: permissions again <sigh>

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-04 19:39:33 CEST

On Wed, 2004-08-04 at 12:36, Don Vawter wrote:

> Wed Aug 04 11:22:51 2004] [error] [client 127.0.0.1] (20014)Error string
> not specified yet: Berkeley DB error while opening environment for
> filesystem /mnt/hdb1/svn/pcsmail_svn/db:\nPermission denied

The error here says "permission denied"...

> apache runs as svn

Okay....

> drwxrwsr-x 2 svn svn 16480 Aug 4 10:21 .
> drwxrwxr-t 7 svn svn 224 Jul 29 14:22 ..
> -rw-rwSr-- 1 svn svn 512000 Aug 4 10:29 changes
> -rw-rwSr-- 1 svn svn 8192 Aug 4 10:29 copies
> -rw-r-Sr-- 1 root svn 8192 Aug 4 10:21 __db.001
> -rw-r-Sr-- 1 root svn 270336 Aug 4 10:21 __db.002
> -rw-r-Sr-- 1 root svn 327680 Aug 4 10:21 __db.003
> -rw-r-Sr-- 1 root svn 712704 Aug 4 10:21 __db.004
> -rw-r-Sr-- 1 root svn 16384 Aug 4 10:21 __db.005

Hey look, user 'svn' can't change those __db files, because they're
owned by root. Fix that.

By the way, have you ever considered backing up the repository, then
deleting all the hundreds of unused logfiles? That's a *lot* of excess
disk you're using up there. Read chapter 5 about repository maintenance
and logfile cleanup.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 4 19:40:27 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.