Skip to content

[Bug]: Users With 0B Quota Cannot Delete Folders In External Storage #57375

@daveatpinellas

Description

@daveatpinellas

⚠️ This issue respects the following points: ⚠️

Bug description

We have a use case where some users are given a quota of 0 (zero) bytes and have access to an external storage folder. This keeps all departmental files together and allows for sharing continuity when users leave employment. They are not allowed to upload or share from their "home" directory and must use the external storage. In version 32.0.3 using this technique they can go into the external storage, they can create folders, they can upload files and share. BUT, if they then delete the folder it gives them an error of [Delete folder: Failed]. The UI then does not refresh at all. However if you refresh the page with the browser it gives you a message [The file could not be found] and the folder is actually gone. If I give the user even a 1KB quota, it all works as expected. So for sure this is an issue with quota and deleting folders in external storage.

Steps to reproduce

1.Give user access to an external storage folder
2.Set their quota to zero bytes
3.Create a folder in the external storage folder
4. Delete that folder and receive the [Delete folder: failed] error

Expected behavior

The user should receive no error, the folder should delete and the UI should refresh.

Nextcloud Server version

32

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions