Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting large folders and recycle bin #11354

Closed
nexus186 opened this issue Sep 24, 2018 · 2 comments
Closed

Deleting large folders and recycle bin #11354

nexus186 opened this issue Sep 24, 2018 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap

Comments

@nexus186
Copy link

nexus186 commented Sep 24, 2018

Most people have their nextcloud instance running in /var/www or /var/lib (because that's what all of the guides and walkthroughs say) on the main drive which usually smaller in capacity. On an SSD installation where /var/ has 200GB and a user deletes a 1TB file...what happens?

On other products such as Synology and QNap, they have accounted for this and it will go to the Recycle bin (the files are just moved to the recycle bin section and it counts towards storage).

I think nextcloud should at least give us a way to move the recycle bin somewhere there is ample storage capacity.

EDIT: I haven't tested but I'm also not sure what would happen if the recycle bin fills the disk up and there is no more space left. I'm pretty sure nextcloud would show server 500 errors. Not sure if this can be used for buffer overflow vectors.

Eitherway, there should be an option to prevent the delete if it cannot fit in the recycle bin.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #6092 (Cant delete Folder), #9523 (A file completely disappears after deleting from a group folder), #9812 (All shared folders deleted when deleting one shared folder), #3041 (Deleting a preview folder stops writing previews to disk), and #10514 (Remove "View in folder" action for deleted shares).

@wiswedel wiswedel added 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed bug labels Jun 12, 2019
@skjnldsv
Copy link
Member

skjnldsv commented Sep 9, 2020

Hum, deleted files are storred alongside any user file.
So they'll still be in the same /data folder.

If there was some room for the file before, moving it to the same fs won't change a thing :)

@skjnldsv skjnldsv closed this as completed Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap
Projects
None yet
Development

No branches or pull requests

4 participants