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

Re: Subversion 1.0 and Berkeley DB 4.0.14

From: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2004-03-04 14:44:06 CET

Philip Martin wrote:
> "Jeff Lanzarotta" <lanzarottaj@rogersltd.com> writes:
>
>>I am unable to run the recovery as myself, I have to run it as root.
>
> That's no surprise...
>
>>windss/db:
>>total 84484
>>drwxr-xr-x 2 xyz mis 4096 Mar 3 15:34 ./
>>drwxr-xr-x 7 xyz mis 4096 Mar 3 14:37 ../
>>-rw-r--r-- 1 xyz mis 86016 Mar 3 15:38 changes
>>-rw-r--r-- 1 xyz mis 8192 Mar 3 15:34 copies
>>-rw-r--r-- 1 xyz mis 8192 Mar 3 14:37 __db.001
>>-rw-r--r-- 1 xyz mis 270336 Mar 3 14:37 __db.002
>>-rw-r--r-- 1 xyz mis 327680 Mar 3 14:37 __db.003
>>-rw-r--r-- 1 xyz mis 737280 Mar 3 14:37 __db.004
>>-rw-r--r-- 1 xyz mis 16384 Mar 3 14:37 __db.005
>>-rw-r--r-- 1 xyz mis 1738 Mar 3 14:37 DB_CONFIG
>>-rw-r--r-- 1 xyz mis 1048444 Mar 3 15:34 log.0000000085
>>-rw-r--r-- 1 root root 414808 Mar 3 15:38 log.0000000086
>
> only root can access this log file.

Exactly. Jeff, chown everything in the repository to yourself, and run
recovery and checkout as yourself using file://, and let us know how it
goes. There is no reason to run svnserve as root. It's an unneccessay
security risk. You should run every tool that touches the repository as
the same user (unless you really know what you are doing).

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 4 14:43:03 2004

This is an archived mail posted to the Subversion Users mailing list.