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

Re: [bug?] wrong access rights for newly created sharded directory.

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 13 Oct 2008 16:55:58 +0200 (Jerusalem Standard Time)

Paweł Sikora wrote on Mon, 13 Oct 2008 at 16:41 +0200:
> hi all,
>
> i have a svn repository with ~10k revisions with ssh auth
> and users grouped in 'svnusers'. i've converted it to sharded
> layout when number of revs was less than 10k. during crossing
> the 10k limit, the svnserve daemon creates new directory '10'
> for db/{revs,revprops} with access rights limited to read-only
> for svnusers group.
>

What version are you using? Is it newer than 1.5.2?

From CHANGES of 1.5.2:

  * Set correct permissions on created fsfs shards (r32355, -7)

Daniel

> [svnadmin_at_dragon db]$ ls -l revs
>
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 15:49 0
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 15:54 1
> drwxr-sr-x 2 **$user** svnusers 4096 Oct 13 15:49 10
> ^^^^
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 15:59 2
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 16:05 3
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 16:13 4
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 16:15 5
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 16:25 6
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 16:27 7
> drwxrwsr-x 2 svnadmin svnusers 20480 Sep 10 16:31 8
> drwxrwsr-x 2 svnadmin svnusers 20480 Oct 13 15:21 9
>
> finally, the svnusers can't write to 'db' directory.
> i've fixed access rights (g+w) manually but the problem
> still remains. any ideas how to fix this in the right way?
>
> BR,
> pawel.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-13 16:56:30 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.