You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. For a collection that is locked with a depth-infinity lock L, all
member resources are indirectly locked. Changes in membership of
such a collection affect the set of indirectly locked resources:
* If a member resource is added to the collection, the new
member resource MUST NOT already have a conflicting lock,
because the new resource MUST become indirectly locked by L.
Actual behaviour
moving is possible and results in multiple exclusive locks for the file
GitMate.io thinks possibly related issues are #26838 (File locking), #24737 (File Locked), #8056 (Conflicting Files), #15122 (File & Folder locking ), and #34338 (share receiver can rename a file in a locked folder by using the lock token of the owner).
Steps to reproduce
e.g
curl -u uu1:uu1 -X MOVE "http://localhost/owncloud-core/remote.php/dav/files/uu1/textfile0.txt" -H "Destination: http://localhost/owncloud-core/remote.php/dav/files/uu1/FOLDER/textfile0.txt" -H "If: (<opaquelocktoken:token-of-file>) (<opaquelocktoken:token-of-folder>)"
Expected behaviour
moving should not work
RFC says https://tools.ietf.org/html/rfc4918#section-6.1 :
Actual behaviour
moving is possible and results in multiple exclusive locks for the file
The text was updated successfully, but these errors were encountered: