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

Re: Could svn_backend check permissions?

From: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2003-09-05 23:15:01 CEST

e.huelsmann@gmx.net wrote:
> It seems like this patch is addressing another issue:
> whether or not there is a repository. Our problem does not focus on the
> existence of one, but on the accessibility in case one is found.

That patch was about fixing ra_svn and ra_local to make sure that any
error detected when opening the repository is sent upwards and displayed
to the user.

FWIW, I think that it's the wrong approach to mess with the permission
of the files inside the db dir. If the permissions are wrong, BDB will
throw an error. Subversion's mission is to show a nice and clear error
message to the user so that (s)he can understand what the problem is and
fix it.

If there are places where subversion failes to spit out a nice
"Permission denied" error message, those places should be fixed.

If the "Permission denied" at the end of the current error message is
not clear enough, it would be a simple matter to clarify it. It could
even contain an URL to the FAQ.

...but I'm just a nobody, of course... :-)

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 5 23:16: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.