Repository navigation
[stable32] fix(quota): Calculate used quota for foreign users the correct way - #66654
Draft
backportbot[bot] wants to merge 1 commit into
Draft
backportbot[bot] wants to merge 1 commit into
backportbot[bot] wants to merge 1 commit into
Conversation
come-nc
force-pushed
the
backport/66334/stable32
branch
from
November 16, 2026 12:49
ce5196e to
5ee7660
Compare
come-nc
approved these changes
Nov 16, 2026
When the `quota_include_external_storage` setting is enabled and a shared folder is mounted, the free space is being calculcated the wrong way. Example: - user1 has a quota of 10GB with 9GB used - user2 has a quota of 5GB and shares a folder with user1 - user1 tries to write a file to the shared folder - Upload fails due to `quota-available-bytes: 0` (the usage of 9GB being compared against the 5GB of user2) The issue is fixed by checking the usage of the folder's owner instead of the session user's. The same issue also applies to the admin overview, where the admin's own quota is being shown for users whose files folder is an external storage mounted at `/`. Assisted-by: ClaudeCode:claude-opus-5.5 Signed-off-by: David Dreschner <david.dreschner@nextcloud.com> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
come-nc
force-pushed
the
backport/66334/stable32
branch
from
November 16, 2026 13:03
5ee7660 to
30ac4a8
Compare
AndyScherzinger
approved these changes
Nov 16, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #66334