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

Re: SVN Repository permissions

From: Mark Eichin <eichin_at_gmail.com>
Date: Fri, 14 Nov 2008 10:11:56 -0500

On Thu, Nov 13, 2008 at 5:57 PM, Ashish Utagikar <autagika_at_marvell.com> wrote:
> Hello,
>
> I am using a fsfs repository named adapt1 and I am trying to import
> data from a remote machine in to the repository. The owner of the repository
> is not me but a faceless account like svnacc etc..
>
>
>
> I am using svn+ssh protocol to access the repository and the repository has
> user and group write permissions on all of its directories. I am also the
> member of the group.
>
>
>
> When I try to import the data as me and not the faceless account from the
> remote machine, it gives me the below error. Also the txn-current-lock file
> has group write permissions which I am part of

Show us for real? Also, check the permissions on /db itself...

> svn: Can't open file '/tmp/adapt1/db/txn-current-lock': Permission denied
>
>
>
>
>
> Can somebody please let me know why this is happening and also how to setup
> permissions on the repository, so that only the group members and the owner
> has write access to the repository, but not the others ?

I make db, db/revprops, db/revs, and db/txn-protorevs rwxrwsr-x (the s
is for linux/bsd "setgid" which, on a directory, means "inherit
permissions from the dir instead of the user's primary group".) Also
txn-current-lock, txn-current, write-lock are rw-rw-r--.

If you're on 1.5, you want 1.5.3 or later because there's a bug in
permissions on new "shards" under revs and revprops - but that doesn't
sound like the problem you're having...

-- 
_Mark_ <eichin_at_thok.org> <eichin_at_gmail.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-14 16:12:21 CET

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.