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

Re: authz and hiding directories that have read access disabled.

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2006-03-23 08:53:48 CET

On 3/22/06, Jon Scott Stevens <jon@latchkey.com> wrote:
> What if I want to change the behavior of the source code (or allow an
> option to do that)?
> Which files should I be looking in? I'm not a C expert (more Java/
> PHP)... I dug around in repos.c and mod_authz_svn.c, but I'm not
> really finding the right places...

As Lieven said, it intentionally follows the Unix-style perms structure.

However, if you want to prevent it from being returned in the
autoindex-style case, start with mod_dav_svn/repos.c:dav_svn_deliver.
Alterations there would prevent it from being returned with just
browsing. However, their directory names would still be returned as
'absent' in the internal WebDAV calls that the client would see -
removing it from there would require more work.

Feel free to knock yourself out... =) -- justin

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 23 09:57:59 2006

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

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