W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2007

overwrite and depth-0 locks

From: Tim Olsen <tolsen718@gmail.com>
Date: Wed, 28 Mar 2007 16:17:04 -0400
Message-ID: <4be80d840703281317x272723f3sbec86d46d0198524@mail.gmail.com>
To: w3c-dist-auth@w3.org

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="DAV:">
   <D:segment>d</D:segment>
   <D:href>/a/b</D:href>
</D:rebind>

4.
BIND /c
Overwrite: T

<D:bind xmlns:D="DAV:">
   <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
Received on Wednesday, 28 March 2007 20:17:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:15 GMT