You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tom Browder <to...@gmail.com> on 2008/08/20 21:41:27 UTC
Upgrade to 1.5.1: Upgraded Repo Blocked with Unwriteable File
I haven't found a similar problem looking at the user archives since May.
I upgraded to subversion 1.5.1 on my Linux repo host as well as my
client host (compile of src release). Then, on each repos I executed:
svnadmin upgrade
I'm using svn+ssh from my working host to a remote subversion host.
In my working directory, I did svn update.
After a change I tried svn commit and got the following error:
Transmitting file data .svn: Commit failed (details follow):
svn: While preparing '/usr/local/src/prog/README' for commit
svn: Can't open file '/usr/local/svn/prog/db/txn-current-lock':
Permission denied
I get the same type of error when I try to commit from another working
directory from another repos.
I assume I'll get the same errors from all my 20 or so repos.
Any suggestions?
Thanks.
-Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Upgrade to 1.5.1: Upgraded Repo Blocked with Unwriteable File
Posted by Tom Browder <to...@gmail.com>.
On Wed, Aug 20, 2008 at 10:06 PM, David Weintraub <qa...@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
Re: Upgrade to 1.5.1: Upgraded Repo Blocked with Unwriteable File
Posted by Tom Browder <to...@gmail.com>.
On Wed, Aug 20, 2008 at 10:06 PM, David Weintraub <qa...@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?
Thanks for the interest, David.
I have everything owned by 'svnadmin' and all users are in group 'svngroup'.
I'll have to check when I get to work, but I believe all permissions
are rwX (as appropriate, dir or file) for both. I think I saw the
sticky bit set on one or more directories.
-Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Upgrade to 1.5.1: Upgraded Repo Blocked with Unwriteable File
Posted by David Weintraub <qa...@gmail.com>.
What's the permission on your repository directories on your server?
Is it the user who's running the Subversion server process?
--
David Weintraub
qazwart@gmail.com
On Wed, Aug 20, 2008 at 5:41 PM, Tom Browder <to...@gmail.com> wrote:
> I haven't found a similar problem looking at the user archives since May.
>
> I upgraded to subversion 1.5.1 on my Linux repo host as well as my
> client host (compile of src release). Then, on each repos I executed:
>
> svnadmin upgrade
>
> I'm using svn+ssh from my working host to a remote subversion host.
>
> In my working directory, I did svn update.
>
> After a change I tried svn commit and got the following error:
>
> Transmitting file data .svn: Commit failed (details follow):
> svn: While preparing '/usr/local/src/prog/README' for commit
> svn: Can't open file '/usr/local/svn/prog/db/txn-current-lock':
> Permission denied
>
> I get the same type of error when I try to commit from another working
> directory from another repos.
>
> I assume I'll get the same errors from all my 20 or so repos.
>
> Any suggestions?
>
> Thanks.
>
> -Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org