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
{{ message }}
Repository navigation
Drag file/folder onto read-only remote share destroys the file #9087
Setup two servers "localserver" and "remoteserver".
Enable external storage app on "localserver"
On "remoteserver" share a folder "shared_folder" with link in read-only mode
Open the link
Add the share to "localserver" (server-server sharing)
On "localserver" create a test folder "test" with contents
Drag "test" onto the remote share "shared_folder"
Expected result
Either: dragging must not work because the folder permissions are read-only.
Or: Error message is shown after trying to move.
Actual result
Dragging worked, spinner appears and stays forever.
After refreshing the page, the folder "test" has been destroyed. It has been deleted and there are no traces of it neither in "shared_folder" (because it's read-only) not in the local user's trashbin.
Note: the permissions I've seen on "shared_folder" in the UI are 27.
It seems the create permission is not there but the update creation is there, which might explain why the dragging code still went through.
Activity
PVince81 commentedon Jun 18, 2014
CC @schiesbn
PVince81 commentedon Jun 20, 2014
Setting milestone to OC 7 CE, especially that data loss is involved !