Skip to content

File looks like it can be copied from received share and exceed quota #40140

@phil-davis

Description

@phil-davis

Steps to reproduce

  1. Alice has some storage quota, Brian has zero or low quota
  2. Alice shares a file with Brian, or a folder containing a file
  3. Brian copies the received file to his own home storage

Expected behaviour

The API copy request should fail with a suitable HTTP response status like 507 "insufficient storage".

Actual behaviour

The HTTP status is 201 - to the client it seems that the copy was successful.
But actually the copied file does not exist. It seems that the copy did not really happen.

Server configuration

Current core master - see demonstration test scenarios

Metadata

Metadata

Assignees

No one assigned

    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