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

Re: Upgrade to 1.5.1: Upgraded Repo Blocked with Unwriteable File

From: Tom Browder <tom.browder_at_gmail.com>
Date: Thu, 21 Aug 2008 12:00:57 -0500

On Wed, Aug 20, 2008 at 10:06 PM, David Weintraub <qazwart_at_gmail.com> wrote:
> What's the permission on your repository directories on your server?
> Is it the user who's running the Subversion server process?

I'm using svn+ssh. All users are in group 'svngroup' and the owner
is 'svnadmin'. The umask is set to '022'. Note that I may have run
'svnadmin upgrade' as root or as myself because I remember having to
do 'chown -R svnadmin.svngroup' on all the repos.

The permissions on one of the repositories is shown below (they all
look the same perm-wise (note the set-gid); I have attached the text
file which is easier to read with its mono-spaced, Courier font):

drwxrws--- 6 svnadmin svngroup 4096 Aug 20 14:49 /usr/local/svn/prog/db
-rw-rw---- 1 svnadmin svngroup 13 Aug 20 08:15
/usr/local/svn/prog/db/current
-r--r--r-- 1 svnadmin svngroup 15 Aug 20 14:49 /usr/local/svn/prog/db/format
-rw-rw---- 1 svnadmin svngroup 5 Feb 22 12:43 /usr/local/svn/prog/db/fs-type
drwxrws--- 2 svnadmin svngroup 98304 Aug 20 08:15
/usr/local/svn/prog/db/revprops
drwxrws--- 2 svnadmin svngroup 98304 Aug 20 08:15 /usr/local/svn/prog/db/revs
drwxrws--- 2 svnadmin svngroup 4096 Aug 20 08:15
/usr/local/svn/prog/db/transactions
-rw-r--r-- 1 svnadmin svngroup 2 Aug 20 14:49
/usr/local/svn/prog/db/txn-current
-rw-r--r-- 1 svnadmin svngroup 0 Aug 20 14:49
/usr/local/svn/prog/db/txn-current-lock
drwxr-sr-x 2 svnadmin svngroup 4096 Aug 20 14:49
/usr/local/svn/prog/db/txn-protorevs
-rw-rw---- 1 svnadmin svngroup 37 Feb 22 12:43 /usr/local/svn/prog/db/uuid
-rw-rw---- 1 svnadmin svngroup 0 Feb 22 12:43
/usr/local/svn/prog/db/write-lock

Thanks for any suggestions.

-Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org

Received on 2008-08-21 19:01:24 CEST

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.