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

Re: Subversion Permissions Question.

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Fri, 11 Feb 2011 09:21:16 +0100

Guten Tag MonicaS,
am Donnerstag, 10. Februar 2011 um 17:33 schrieben Sie:

> We are using an old
> version that we are going to upgrade as soon as we are confident that
> we understand the current configuration and setup.

It should be possible to upgrade to a newer version even without
understanding, because unless you dump and load your repositories, the
old format and configuration is kept and should just work. You would
just loose benefits of newer FSFS-versions or stuff like that, but can
dump and load whenever you like.

> The authz file contains the following three lines. If I understood
> correctly, svnadmin will have rw permissions to the whole repository
> and the rest of the users will have read-only access.
> But all users are able to 'checkout' and 'submit' files. So what are
> these permissions really doing?

> [/]
> svnadmin = rw
> * = r

Which users are in the group svadmin? If all, then all should be able
to commit etc.

> I see the files svnserve.conf and authz on different subdirectories.
> Shouldn't these files be only in the main or initial folders of the
> repository?

Per default those files should be in the conf-directory of the
repository, but the location of authz can be configured in
svnserve.conf.

### Uncomment the line below to use the default authorization file.
authz-db = authz

vs.

### Uncomment the line below to use the default authorization file.
authz-db = ../../foo/bar/authz

> Other questions that I have are:
> - How can I get a full repository layout?

svn help list
svn list -R

> - How can I get the repository history since the revision 0 to the
> newest?

svn help log
svn log -r 0:HEAD

> - How can I get the list of revisions or commits for the whole
> repository? I'm doing using 'svn log' but I only get the current
> folder not recursive to the whole repo.

The list of revisions euqals the log history, in your working copy you
have to change to the root of the working copy.

> Also, I don't think I understand when a repository is a repository and
> when it is a directory under that repository. I checked some of the
> folders under the repository directory structure and I found that i
> can follow the directory structure up to certain point and then I
> cannot.

> For example:

> svn+ssh://user@server/Repo_name/main_folder1

Repo_name should be the repository itself, everything beneath is
content in it. The repository is the name of the folder which has db,
hooks, conf etc. a s subfolders in your file system.

> I cannot follow using a normal "cd" command the directory level of
> 'trunk', 'branches' and 'tags' in the repository directory. I only
> have the folders conf, dav, db,format, hooks, locks, README.txt but
> not 'branches', 'tags' and 'trunk'.

The contents of the repository is unknown to your file system,
therefore you need svn tools.

svn help ls

> So, are main_folder1 and main_folder2 two different repositories or
> only one under Repo_name?

Should be one under Repo_name, depending on the name of the folder
with db, hooks etc. in it.

> Where I can find information about the database FSFS layout, schema
> and design?

Maybe in the subversion sources, I don't know. But do you really think
you need those information for administration purposes?

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening_at_am-soft.de
Web:     http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Received on 2011-02-11 09:21:53 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.