core icon indicating copy to clipboard operation
core copied to clipboard

A shared file appears again after moving it

Open purigarcia opened this issue 13 years ago • 6 comments

Expected behaviour

  1. Should you be able to move a file which is inside a folder with update permission or should you need delete permission instead?
  2. If the file is able to be deleted, it shouldn't appear again after moving it

Actual behaviour

  1. File "a.jpg" is there again after deleting it

Steps to reproduce

  1. There are two users (user1 and user2)
  2. user1 shared with user2 a folder "A" with file inside it with update permission
  3. Using a iOS device, log in as user2
  4. Select to move a file "a.jpg" which is inside folder "A" to root
  5. File is moved
  6. Then in the server as user1, create a folder "B" inside folder "A"
  7. In the server, refresh folder "A", then you can see folder "B" and the file "a.jpg" there again

Server configuration

Operating system: MaOs 10.7.5 Database: SQLite 3 ownCloud version: {"installed":"true","version":"5.80.8.0","versionstring":"6.0 pre alpha","edition":""} Browser: Chrome

purigarcia avatar Oct 07 '13 12:10 purigarcia

@schiesbn Is this the intended behavior?

karlitschek avatar Oct 07 '13 12:10 karlitschek

Operating system: MaOs 10.7.5

We don't support MacOS server side!

DeepDiver1975 avatar Oct 07 '13 13:10 DeepDiver1975

The server side is not MacOS, it is OpenSUSE

purigarcia avatar Oct 08 '13 07:10 purigarcia

The server side is not MacOS, it is OpenSUSE

Can you please adjust the issue description? Thanks

DeepDiver1975 avatar Oct 08 '13 07:10 DeepDiver1975

From my understanding the MOVE should fail because it can not be performed properly. Without the delete permission the file remains as described.

Actually the MOVE will behave as a COPY and therefore it shall fail.

DeepDiver1975 avatar Oct 08 '13 09:10 DeepDiver1975

Thx @DeepDiver1975

Tested with #5194 what it was reported on this ticket and it´s working just fine.

Want to do some more testing

rperezb avatar Oct 08 '13 13:10 rperezb