You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paweł Sikora <pl...@agmk.net> on 2008/10/13 14:41:24 UTC

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

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.

[svnadmin@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


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

Posted by Paweł Sikora <pl...@agmk.net>.
13/10/2008, "Daniel Shahaf" <d....@daniel.shahaf.name> napisał/a:

> 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)

1.5.1 rpms for rhel4. looks like i need an upgrade :)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


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

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
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?