core icon indicating copy to clipboard operation
core copied to clipboard

Overquota on upload public share

Open epinet opened this issue 13 years ago • 4 comments

On a public share, when uploads are enabled, you can upload over quota's account... owncloud 5.0.12

epinet avatar Oct 16 '13 12:10 epinet

@epinet Thanks a lot for reporting issues back to us!

We need some more information to properly support you with your issue!

Can I ask you to follow our guidelines for submitting bugs as described here: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md

Thanks a lot!

DeepDiver1975 avatar Oct 16 '13 15:10 DeepDiver1975

This seems to be fixed in OC6 Beta 2.

Here are the steps:

  1. Create a user1 with a quota of 100 MB
  2. Login as user1
  3. Upload a 90 MB file
  4. Create a "public" dir and share it with link, and enable upload
  5. Copy the link
  6. Log out
  7. Open the link in the browser
  8. Try and upload a file that is 20 MB big or bigger
  9. Try and upload a file that is 5 MB big

You'll see that at step 8 you get an error message that there is no space left, as 90 + 20 > 100 MB. At step 9 you are able to upload the file because there is enough space.

PVince81 avatar Nov 05 '13 08:11 PVince81

The problem still exists in OC 5.0.13.

PVince81 avatar Nov 11 '13 10:11 PVince81

It seems it's not possible to backport the fix. In OC6 there is a new quota stream wrapper that enforces quotas on upload. Since this is fixed in OC6 I'm closing this.

PVince81 avatar Nov 13 '13 19:11 PVince81