List Info

Thread: overwrite and depth-0 locks




overwrite and depth-0 locks
user name
2007-03-28 15:17:04
Let's say you have resources /a/b and /c/d.  There is a
depth-0 lock
on collection /c

Of the following cases, which ones require the locktoken for
the lock on /c?

1.
COPY /a/b
Destination: /c/d
Overwrite: T

2.
MOVE /a/b
Destination: /c/d
Overwrite: T

3.
REBIND /c
Overwrite: T

<D:rebind xmlns="D
AV:">
   <D:segment>d</D:segment>
   <D:href>/a/b</D:href>
</D:rebind>

4.
BIND /c
Overwrite: T

<D:bind xmlns="D
AV:">
   <D:segment>d</D:segment>
   <D:href>/a/b</D:href>
</D:bind>

I believe #1 does not require the locktoken.  I'm not sure
about the other ones.

Thanks for the help.

-Tim


Re: overwrite and depth-0 locks
country flaguser name
United States
2007-03-28 18:09:34

All use cases below other than #1 require the locktoken.

Cheers,
Geoff

w3c-dist-auth-requestw3.org wrote on 03/28/2007 04:17:04 PM:

&gt;
> Let's say you have resources /a/b and /c/d.  There is a depth-0 lock
> on collection /c
>
> Of the following cases, which ones require the locktoken for the lock on /c?
>
> 1.
> COPY /a/b
>; Destination: /c/d
>; Overwrite: T
>
> 2.
> MOVE /a/b
>; Destination: /c/d
>; Overwrite: T
>
> 3.
> REBIND /c
> Overwrite: T
>
> <D:rebind xmlns="DAV:">
>    <D:segment&gt;d</D:segment>
>    <D:href>/a/b</D:href>
&gt; </D:rebind>
&gt;
> 4.
> BIND /c
> Overwrite: T
>
> <D:bind xmlns="DAV:">
>    <D:segment&gt;d</D:segment>
>    <D:href>/a/b</D:href>
&gt; </D:bind>
>;
> I believe #1 does not require the locktoken.  I'm not sure about the
> other ones.
&gt;
> Thanks for the help.
&gt;
> -Tim
>;
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )