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

Re: Access right question

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-20 17:04:18 CEST

"Sander Striker" <striker@apache.org> writes:

> > While this seems to work well in most cases, I noticed that Berkeley DB
> > adds log information even in case of a "checkout"! (I can't see any
> > reason why this is so).
>
> Because a checkout causes a _write_.

This has become a FAQ as well. I should write it up.

Everybody listen: checkouts and updates are produced by having the
server compare two trees. One tree is the HEAD revision (usually),
and the other is a temporary transaction-tree -- thus the need for
write access.

> > How do other people handle the access rights when using "ra_local"?
>
> Use a simple wrapper:
>
> #!/bin/sh
> umask 002
> /path/to/real/svn "$@"

And this is described in the book as well:

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 20 17:06:04 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.