Ingo,

No I didn't try to set anything and it was a new instance altogether and I was connected as 'root' and just did the 'acl' command on a collection I had just created with mkcol command.

Ollie

Ingo Brunberg wrote:

Hi Ollie,

first, thank you for following the advice.

As you propably know, Slide recently tried to become compatible with
the latest ACL draft. For the client part, I have commited a small
patch that (admittedly I haven't tested much) allows users to set the
principal of an ACE to a property. Have you made use of this feature?

On the other hand, your output seems to indicate a bug on the server
side. The principal should look like:

<D:principal><D:property><D:owner/></D:property></D:principal>

instead of

<D:principal>>D:owner/></D:principal>.

I will propably have a closer look at it tomorrow, unless someone is
faster.

Regards,
Ingo



Running the latest Slide Client against a local slide instance, I got the following:

[LOCALHOST] /AJCS/files/Matrix/ $ 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/Matrix/:
------------------------------------------------------------
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]


So, since it asked me to, here it is.

Ollie




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







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



Reply via email to