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

Re: Server module corrupts repository.

From: Robert Larsen <robert_at_the-playground.dk>
Date: 2003-03-04 22:40:09 CET

>
>File access isn't enough. You need r/w permission on the parent
>directories too.
>
>When you access via file:///, are you doing it as user 'apache'? Is
>your umask doing weird things to the db files, making it impossible
>for the httpd process to r/w as well?
>
>
>
I use my own account for access:

[robert@codemachine projects]$ whoami
robert
[robert@codemachine projects]$ groups
robert apache
[robert@codemachine projects]$ umask
0002
[robert@codemachine projects]$ cd /var/cvsroot/svnrepo
[robert@codemachine svnrepo]$ ls -laR
.:
total 32
drwxrwxr-x 6 apache apache 4096 Mar 4 22:06 .
drwxrwxr-x 15 robert robert 4096 Mar 4 22:06 ..
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 dav
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 db
-rw-rw-r-- 1 apache apache 2 Mar 4 22:06 format
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 hooks
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 locks
-rw-rw-r-- 1 apache apache 376 Mar 4 22:06 README

./dav:
total 8
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 .
drwxrwxr-x 6 apache apache 4096 Mar 4 22:06 ..

./db:
total 3004
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 .
drwxrwxr-x 6 apache apache 4096 Mar 4 22:06 ..
-rw-rw-r-- 1 apache apache 49152 Mar 4 22:06 changes
-rw-rw-r-- 1 apache apache 8192 Mar 4 22:06 copies
-rw-rw-r-- 1 apache apache 8192 Mar 4 22:06 __db.001
-rw-rw-r-- 1 apache apache 270336 Mar 4 22:06 __db.002
-rw-rw-r-- 1 apache apache 327680 Mar 4 22:06 __db.003
-rw-rw-r-- 1 apache apache 737280 Mar 4 22:06 __db.004
-rw-rw-r-- 1 apache apache 16384 Mar 4 22:06 __db.005
-rw-rw-r-- 1 apache apache 1282 Mar 4 22:06 DB_CONFIG
-rw-rw-r-- 1 apache apache 1048493 Mar 4 22:06 log.0000000001
-rw-rw-r-- 1 robert robert 424375 Mar 4 22:06 log.0000000002
-rw-rw-r-- 1 apache apache 24576 Mar 4 22:06 nodes
-rw-rw-r-- 1 apache apache 40960 Mar 4 22:06 representations
-rw-rw-r-- 1 apache apache 8192 Mar 4 22:06 revisions
-rw-rw-r-- 1 apache apache 548864 Mar 4 22:06 strings
-rw-rw-r-- 1 apache apache 8192 Mar 4 22:06 transactions
-rw-rw-r-- 1 apache apache 8192 Mar 4 22:06 uuids

./hooks:
total 28
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 .
drwxrwxr-x 6 apache apache 4096 Mar 4 22:06 ..
-rw-rw-r-- 1 apache apache 1286 Mar 4 22:06 post-commit.tmpl
-rw-rw-r-- 1 apache apache 1475 Mar 4 22:06
post-revprop-change.tmpl
-rw-rw-r-- 1 apache apache 2093 Mar 4 22:06 pre-commit.tmpl
-rw-rw-r-- 1 apache apache 1952 Mar 4 22:06
pre-revprop-change.tmpl
-rw-rw-r-- 1 apache apache 1377 Mar 4 22:06 start-commit.tmpl

./locks:
total 12
drwxrwxr-x 2 apache apache 4096 Mar 4 22:06 .
drwxrwxr-x 6 apache apache 4096 Mar 4 22:06 ..
-rw-rw-r-- 1 apache apache 460 Mar 4 22:06 db.lock
[robert@codemachine projects]$

Is there something wrong with this picture ?
Robert

-- 
"This is a Unix system...I know this." - Little girl from Jurassic Park
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 4 22:40:03 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.