Re: ACL How To - Command-line client

2004-06-30 Thread James Mason
You need to use the full path to the resource. eg:
/slide/files/Perso/alice. The command line client has problems with
relative paths for some methods.

-James

James Mason
Adventist Health
Programmer/Analyst
916.783.2576
[EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 06/30/04 3:39 AM >>>
Hi,

I am using the slide-2.0/tomcat-5.0.19 bundle. I am trying setup ACLs on

collections I have created. My tree looks like this:

/files
|-/Perso
| |-alice
| |-bob
| |-charles
...

As I try to setup ACLs using the Slide WebDAV commandline client (v 
2.0), I have the following issues:

[PATROUILLE] /slide/ $ cd files/Perso
[PATROUILLE] /slide/files/Perso/ $ grant all on alice to alice
grant DAV::all on alice to /alice
Error: PropFind didn't return an AclProperty!
[PATROUILLE] /slide/files/Perso/ $ grant DAV all on alice to alice
Syntax error. "help" for more info
[PATROUILLE] /slide/files/Perso/ $ Error: line 1:88: expecting EOL, 
found 'on'
[PATROUILLE] /slide/files/Perso/ $ Error: line 1:7: expecting EOL, found

'to'
[PATROUILLE] /slide/files/Perso/ $ Error: invalid command: alice

Thus I have some questions:

- Do I use the correct syntax tu put ACLs on my collections ?
- Is there a way to put ACLs with a client like DAVExplorer or do I need

to code my own client ?
- Is the command line parser from the slide CL client bound to be 
reviewed ? I was thinking about something like a Java library similar to

the well-known 'readline' (used in bash for instance), with word 
completion and command history - as soon as I have some time...

Regards
J.B.L


-
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]



ACL How To - Command-line client

2004-06-30 Thread Jean-Baptiste Lièvremont
Hi,
I am using the slide-2.0/tomcat-5.0.19 bundle. I am trying setup ACLs on 
collections I have created. My tree looks like this:

/files
|-/Perso
| |-alice
| |-bob
| |-charles
...
As I try to setup ACLs using the Slide WebDAV commandline client (v 
2.0), I have the following issues:

[PATROUILLE] /slide/ $ cd files/Perso
[PATROUILLE] /slide/files/Perso/ $ grant all on alice to alice
grant DAV::all on alice to /alice
Error: PropFind didn't return an AclProperty!
[PATROUILLE] /slide/files/Perso/ $ grant DAV all on alice to alice
Syntax error. "help" for more info
[PATROUILLE] /slide/files/Perso/ $ Error: line 1:88: expecting EOL, 
found 'on'
[PATROUILLE] /slide/files/Perso/ $ Error: line 1:7: expecting EOL, found 
'to'
[PATROUILLE] /slide/files/Perso/ $ Error: invalid command: alice

Thus I have some questions:
- Do I use the correct syntax tu put ACLs on my collections ?
- Is there a way to put ACLs with a client like DAVExplorer or do I need 
to code my own client ?
- Is the command line parser from the slide CL client bound to be 
reviewed ? I was thinking about something like a Java library similar to 
the well-known 'readline' (used in bash for instance), with word 
completion and command history - as soon as I have some time...

Regards
J.B.L
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]