[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: MonicaS <castaneda.monica_at_gmail.com>
Date: Fri, 11 Feb 2011 11:37:20 -0800 (PST)

On Feb 11, 3:21 am, Thorsten Schöning <tschoen..._at_am-soft.de> wrote:
> 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.

It is good to know that. I'm going to try to do it as soon as the team
is ready.
>
> > 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.

only one user belong to the svnadmin group.

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

OK, so only the repositories have the sub-directories db, conf, dav,
format, hooks and locks.

If this is true, this installation looks like only one repository but
I really have 506 repositories. I have repositories under
repositories.

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

Again, this open my eyes, we have one folder and everybody thinks that
we have only one repository, but we really have 506, I was confused.
Thank you for clarifying.

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

I really don't need this. I love databases and each of the
configuration tools that I worked, I always try to understand the
database structure. For example a lot of people don't like ClearCase
but I was an CC administrator for a while and I loved the database,
they have a lot of documentation. I also understood the Peforce and I
enjoyed doing some test.... :-)

Thank you for your answers.
Monica

> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning
> AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
>
> Telefon: Potsdam: 0331-743881-0
> E-Mail:  tschoen..._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 20:37:56 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.