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

Authz: checkout private subdirectory of public directory

From: Christopher Ness <chris_at_nesser.org>
Date: 2006-04-03 17:55:18 CEST

Hi *,

I'm not a member of this list, please reply all or keep me in the CC list.
Thanks.

I have a directory structure which perhaps I've mangled or set up in a way
not planned for. This is the authz file excerpt:

## Do not allow anonymous users to view my branches
[/branches/cgness]
* =
cgness = rw

[/branches/cgness/NetWS]
* = r
cgness = rw

[/branches/cgness/NetWS/private]
* =
cgness = rw

Basically, I don't want people to be able to read my branches directory
but I do want to expose one project in my branch (NetWS) with one
sub-directory that is restricted - which happens to hold authentication
info.

Is it possible to expose an internal directory with restricted directories
around it in AUTHZ?

  cgness (Restricted)
    |
    -- NetWS (Open)
        |
        -- private (Restricted)

Both my windows client and linux client give output which `ls` sees the
private directory, but `co`, `up` and `st` don't seem to see the 'private'
directory above.

What I'm doing is trying to check out NetWS which doesn't require
authentication. I'm a user (cgness) which has access to private, so I
would expect the private directory to be checked out as well, but it is
not.

A direct check out of the private directory is successful as my user.

I'm using https with Authz.
Am I doing something silly with my Authz config or is this a bug?

[cgness@servicesvn NetWS]$ svn info
Path: .
URL: https://servicesvn/svn/branches/cgness/NetWS
  <SNIP other info>
[cgness@servicesvn NetWS]$ svn ls
https://servicesvn/svn/branches/cgness/NetWS
AssemblyInfo.cs
Global.asax
Global.asax.cs
Global.asax.resx
Service1.asmx
Service1.asmx.cs
Service1.asmx.resx
Web.config
WebService1.csproj
WebService1.csproj.webinfo
private/
[cgness@servicesvn NetWS]$ svn st -uv
              158 157 cgness AssemblyInfo.cs
              158 157 cgness Global.asax.cs
              158 157 cgness Web.config
              158 157 cgness WebService1.csproj.webinfo
              158 157 cgness Service1.asmx
              158 157 cgness Service1.asmx.resx
              158 157 cgness Global.asax
              158 157 cgness Global.asax.resx
              158 157 cgness Service1.asmx.cs
              158 157 cgness WebService1.csproj
              158 158 cgness .
Status against revision: 158
[cgness@servicesvn tmp]$ svn co
https://servicesvn/svn/branches/cgness/NetWS/private
A private/ZMPSqlDB.cs
Checked out revision 160.

Cheers,
Chris

-- 
http://www.nesser.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 3 18:00:35 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.