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
As per #1284 (comment) ocis doesn't support locking a folder and doesn't have the plan to do so. Sending a LOCK request to the folder returns success status code and it also partially works. While a user can upload new files inside the folder, they however cannot create a new folder inside a folder that is locked.
Hi, @ScharfViktor I have updated this issue, if the folder is not supposed to be locked then I think this behavior as explained in the issue is a bug. Please go through this and you can close the issue if this is not relevant.
SwikritiT
changed the title
Creating new folder inside a "locked" folder doesn't work
Folders can be locked and locking works partially
Nov 2, 2023
Note that the behavior is the same in public links as well. Public user can lock the folder partially as described in this issue if they have enough permission.
Describe the bug
As per #1284 (comment) ocis doesn't support locking a folder and doesn't have the plan to do so. Sending a
LOCK
request to the folder returns success status code and it also partially works. While a user can upload new files inside the folder, they however cannot create a new folder inside a folder that is locked.Steps to reproduce
Steps to reproduce the behavior:
locked
locked
, this workscurl -ueinstein:relativity -XLOCK "https://localhost:9200/remote.php/webdav/locked" -H "Content-Type: application/json" -d"<?xml version='1.0' encoding='UTF-8'?><d:lockinfo xmlns:d='DAV:'><d:lockscope><d:exclusive/></d:lockscope></d:lockinfo>" -vk
locked
, this workscurl -ueinstein:relativity -XPUT "https://localhost:9200/remote.php/webdav/locked/textfile.txt" -d"hello world" -vk
locked/test
, doesn't workcurl -u einstein:relativity -XMKCOL "https://localhost:9200/remote.php/webdav/locked/test" -vk
Expected behavior
The request should be successful. As the locking of the folder is not supported.
Actual behavior
The folder cannot be created and the request returns with
423 Locked
Also, the folder looks like it is locked on the UI level as well
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
OCIS: dfc55c39ef167fd4cebf671a8b9e6e9cba7c1508
The text was updated successfully, but these errors were encountered: