Hi Ollie,

we had discussed this before, hadn't we. See this thread:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=5123

There I explained that this reveals a bug in the server
code. Unfortunately noone took up the patch that I have posted, so I
will be going to commit it myself.

Regards,
Ingo

> More Info:
> 
> [LOCALHOST] /AJCS/ $ cd files
> [LOCALHOST] /AJCS/files/ $ cd AJCSData
> [LOCALHOST] /AJCS/files/AJCSData/ $ acl
>  
> Error: unknown type of principal
> element: <D:ace>
>                         <D:principal>
>                             <D:owner />
>                         </D:principal>
>                         <D:grant>
>                             <D:privilege>
>                                 <D:read-acl />
>                             </D:privilege>
>                         </D:grant>
>                         <D:inherited>
>                             <D:href>/AJCS/files</D:href>
>                         </D:inherited>
>                     </D:ace>
> ACL for /AJCS/files/AJCSData/:
> ------------------------------------------------------------
> granted to /AJCS/roles/user    (not protected)   (inherited from 
> '/AJCS/files')
>    DAV:write
> Fatal Error: null
> java.lang.NullPointerException
>         at org.apache.webdav.cmd.Client.showAces(Client.java:1827)
>         at org.apache.webdav.cmd.Client.acl(Client.java:1068)
>         at org.apache.webdav.cmd.ClientParser.acl(ClientParser.java:1764)
>         at org.apache.webdav.cmd.ClientParser.command(ClientParser.java:409)
>         at 
> org.apache.webdav.cmd.ClientParser.commands(ClientParser.java:210)
>         at org.apache.webdav.cmd.Client.run(Client.java:149)
>         at org.apache.webdav.cmd.Slide.main(Slide.java:124)
> Please, email to [EMAIL PROTECTED]
> 
> Mike Oliver wrote:
> 
> > Ladies and Gentlemen,
> >
> > I am trying to use the client from the latest build from the latest 
> > version from cvs.
> >
> > The help from the client says:  "grant [<namespace>] <permission> [on 
> > <path>] to <principal>"
> >
> > Ok here is what I am entering and what I am getting back.
> >
> > [LOCALHOST] /AJCS/ $ grant write on /AJCS/files/AJCSData to ollie
> > grant DAV::write on /AJCS/files/AJCSData to /ollie
> > Error: unknown type of principal
> > element: <D:ace>
> > ...
> > </D:ace>
> > Fatal Error: null
> > java.lang.NullPointerException
> >    at org.apache.webdav.cmd.Client.addPermission(Client.jaa:1698)
> > ...
> >
> > So then I tried:
> > grant write on /AJCS/files/AJCSData to /users/ollie
> >
> > but got same response.
> >
> > Whazzup?
> >
> > Ollie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to