nextcloud / nextcloud/server

Ability to disable trash bin on External Storage (or have separate trash bin on the external storage)

Open
#14,436 22 comments 36 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #22632 by @dassio — closed without merging
  • #23489 by @dassio — closed without merging
1. to develop enhancement feature: external storage feature: trashbin
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Is your feature request related to a problem? Please describe.
When adding external storage folder (e.g. SMB) they integrate nicely. But when deleting elements out of those folder they will be moved to local trash bin, which can take a very long time depending on the file size, connection, etc. and this may sometimes even not be desired.

Describe the solution you'd like
A good general solution would be to disable trash bin manually on a per folder basis. Or in the settings where the user can list folders to be excluded.

Describe alternatives you've considered
One alternative would be to outsource the solution specifically to the external storage add-on and provide a similar option only there on a per share basis.

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 reading the issue discussion and the linked pull requests #22632 and #23489 to understand prior approaches to external-storage deletion and trash handling. Define whether completion means per-folder configuration, a global exclusion list, or an external-storage-specific option, then verify the chosen behavior against both local and external folders.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.