Re: Could svn check permissions?
From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-09-05 21:26:36 CEST
Greg Hudson wrote:
> On Fri, 2003-09-05 at 13:32, John Peacock wrote:
My point is that it is better to set up the repository right when created,
Here's my expanded proposal:
1) If you want to configure the repository to be accessible by the current user,
svnadmin create /path/to/repos
The files are created owned by the logged in user, with the logged in user's
2) If you want to configure the repository to run as a specific non-priveledged
svnadmin create --user=nobody /path/to/repos
This requires root access (which is appropriate), and uses setuid() to that user
3) If you want to configure the repository to be accessible in file:// mode by
svnadmin create --user=owner --group=groupname /path/to/repos
This also requires root access and uses setuid/setgid prior to calling BDB. The
Yes (I can hear you) a competent admin can do all of this themselves. Yes,
But, this makes it possible for someone who is not a competent admin, yet has
John
p.s. it goes without saying that this code all becomes no-ops on insecure O/S's,
-- 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.orgReceived on Fri Sep 5 21:27:05 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.