Figured I'd answer this since I figured it out :).
 
You have to pass an absolute path to the grant, revoke and deny
commands. While a relative path will work for the acl command, it fails
for the others.
 
-James

>>> [EMAIL PROTECTED] 6/14/2004 2:47:19 PM >>>
I'm using Slide 2.0 (server and client) and trying to modify the ACL
for
a new collection. I either get an error saying that PropFind didn't
return an AclProperty or a Syntax error in my command. Maybe someone
can
shed some light on what I'm doing wrong?

Here's what I've tried:

C:\jakarta-slide-webdavclient-bin-2.0\bin>run
[ Slide ] $ open http://localhost:8081/slide/ 
connect http://localhost:8081/slide/ 
Jun 14, 2004 2:42:04 PM org.apache.commons.httpclient.HttpMethodBase
processAuthenticationResponse
WARNING: No credentials available for the 'Slide DAV Server'
authentication realm at localhost
UserName: root
Password: root
[LOCALHOST] /slide/ $ cd files
[LOCALHOST] /slide/files/ $ mkcol foo
Making '/slide/files/foo' collection: succeeded.
[LOCALHOST] /slide/files/ $ grant all on foo to /users/john
grant DAV::all on foo to /users/john
Error: PropFind didn't return an AclProperty!
[LOCALHOST] /slide/files/ $ grant read-acl on foo to /users/john2
grant DAV::read-acl on foo to /users/john2
Error: PropFind didn't return an AclProperty!
[LOCALHOST] /slide/files/ $ grant DAV: read on foo to /roles/guest
Syntax error. "help" for more info
[LOCALHOST] /slide/files/ $ Error: line 1:145: expecting EOL, found
'on'
[LOCALHOST] /slide/files/ $ Error: line 1:5: expecting EOL, found 'to'
[LOCALHOST] /slide/files/ $ Error: invalid command: /roles/guest
[LOCALHOST] /slide/files/ $ grant DAV read on foo to /roles/guest
Syntax error. "help" for more info
[LOCALHOST] /slide/files/ $ Error: line 1:30: expecting EOL, found
'on'
[LOCALHOST] /slide/files/ $ Error: line 1:5: expecting EOL, found 'to'
[LOCALHOST] /slide/files/ $ Error: invalid command: /roles/guest
[LOCALHOST] /slide/files/ $

Thanks for the help.

-James

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


Reply via email to