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

Re: Question for svnadmin test

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-11-09 13:27:21 CET

kfogel@collab.net wrote:
> What will happen if you run it not as root, but with those options?
> An error?

$ subversion/svnadmin/svnadmin create --owner nobody /tmp/nobody
svn: Illegal target for the requested operation
svn: problem setting owner/group for repository (must be root)

That's a slight variant of the patch I submitted (I'm not happy with the error
message and I keep changing it). If the user has write access to the
destination, this will also leave the newly created [empty] directory in place
(which I can't decide if I like). I suppose that I could first test for whether
this code is running as root and just warn and continue if not.

> It's okay for this not to have a test, IMHO.



John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 9 13:27:42 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.