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

Re: [PATCH] svnadmin create --owner --group (Third time's a charm???)

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-11-24 20:31:57 CET

C. Michael Pilato wrote:

> We provide sensible defaults already. We promise to create our files
> and directories in exactly the same way that every other program you
> use creates files and directories -- as the user/group that runs the
> file-creating program. No surprises there. What's not sensible about
> that?

Because the only time that this is _sufficient_ is when the repository is
private to the user creating it. For all other [shared] access, more work is
required. You are arguing that documentation is sufficient; I am arguing that
we can provide the necessary configuration without difficulty, so why don't we.

Let me turn this around: a year from now, Subversion is now supporting other
database backends. Are you advocating that we provide only general schema
documentation and refer to the DB docs for actual commands? Or do you think
that we should provide sample scripts to create the tables/user objects with our
supported DB's? Are you going to say that any system administrator who wants to
run Subversion over PostgreSQL needs to manually set up the database schema and
user rights within that database?

That's what I view this patch to be analogous to; anyone wanting to run BDB in a
shared mode must perform some additional steps after the area has been created.
  I just think it makes more sense to do that on behalf of the administrator
instead of relying on their knowledge of shared file security.

>
> Hmm. I'll pretend you didn't invoke 'useradd' as an example of the
> way things should be.

I was looking for something that all *nix distros had in common; truly a case of
lowest common denominator. ;~)

> 'svnadmin create' + 'chown' just isn't really that tough to pull
> off. :-)

If I might point out that the Book doesn't even currently mention chmod/chown.
It is incredibly vague on the details:

        http://svnbook.red-bean.com/html-chunk/ch05s05.html

You know it's easy, and I know it's easy (now), but there is no documentation of
any depth.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 24 20:32:32 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.