Skip to content

Files shared by others added to my quota, prevents uploads #5688

Closed

Description

@BobJonkman

When other users share files they are added to my quota. My quota should not be affected by files already in someone else's quota.

Example:

I have a quota of 30 GBytes, with 5 GBytes in use.

Another user on the sytem with a larger quota shares a 50 GByte folder with me. The desktop sync client now reports "55 GB of 30GB in use" and the WebUI reports "You have used 55.1 GB of the available couldn't be determined"

Even though I have only 5 GB in my folders I am prevented from adding a 2 MByte file; the desktop sync client reports "Problem: Insufficient storage" although the server has 150 GBytes of total storage with 54 GBytes still available.

(this could be considered a Denial-of-Service security vulnerability)

Server: Ubuntu 12.04.3
ownCloud: 5.0.12

Desktop: Ubuntu 13.10
Desktop sync client: 1.4.2

Activity

  1. DeepDiver1975 commented on Nov 5, 2013

    @DeepDiver1975
    Contributor

    @PVince81 will your quote pull request handle this issue as well? THX

  2. PVince81 commented on Nov 5, 2013

    @PVince81
    Contributor

    No, I don't think so. But I'll double check my other fix to make sure it works correctly with shared dirs.

    I think @BobJonkman is right that shared files (files appearing under "/Shared") shouldn't be counted in a user's quota. I'll see whether it can easily be excluded from the calculation.

  3. ghost assigned on Nov 5, 2013
  4. DeepDiver1975 commented on Nov 5, 2013

    @DeepDiver1975
    Contributor

    @PVince81 this touching the shared folder: please have a look at this pr - afaik it's related #5399

  5. PVince81 commented on Nov 5, 2013

    @PVince81
    Contributor

    Closing this as duplicate of #2796. Let's follow up there.

  6. locked as resolved and limited conversation to collaborators on Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions