nextcloud / nextcloud/server

Show moved shared file in "Deleted files"

Open
#10,017 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: sharing feature: trashbin
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Please use the 👍 reaction to show that you are also in favor of this feature - we are using this information to decide which features to include in upcoming Nextcloud versions. Please don't comment if you have no relevant information to add!


Steps to reproduce
  1. User A shares a folder with User B.
  2. User B moves one file from the shared folder into another one (not shared).
  3. File is deleted for user A without any possibility to get it back.
Expected behaviour

If user B deletes a file from a shared folder, user A would be able to restore the file within the "deleted files"-menu. It would be nice, if there is a similar solution for moving files which was shared by me.

Actual behaviour

If user B moves my (!) file to a location where I have no access, I'm unable to get it back again. The desktop client removes the file immediately.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shared-folder move in the issue and trace the server handling for moved files and deleted files. Done means a file moved by User B to an inaccessible location remains recoverable by User A through the "deleted files" menu, with the desktop client behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.