Skip to content

[stable-33.0] Set folders writable if remote perms require it, recurse into subdirs if etag and remoteperms differ #9643

Merged
nilsding merged 4 commits intostable-33.0from
backport/9637/stable-33.0
Mar 18, 2026
Merged

[stable-33.0] Set folders writable if remote perms require it, recurse into subdirs if etag and remoteperms differ #9643
nilsding merged 4 commits intostable-33.0from
backport/9637/stable-33.0

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 18, 2026

Backport of PR #9637

…ssions

Some of these should not mark the folder as read-only.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
…odifiable permissions present

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
subfolders should also be updated

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
I'm still not sure if `serverEntry.remotePerm != dbEntry._remotePerm`
was intentional, or if it's even necessary to check for that as well.

The etag should change if permissions were changed, but this is not
always the case (e.g. due to a fixed bug in a storage app).

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@backportbot backportbot bot requested a review from mgallien March 18, 2026 10:56
@backportbot backportbot bot requested a review from nilsding as a code owner March 18, 2026 10:56
@backportbot backportbot bot added this to the 33.0.0 milestone Mar 18, 2026
@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-9643.zip

Digest: sha256:79e426a63e308fc4e40a2a5e23148460e77cf2c9665fb63faf0eea56704a2dae

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@nilsding nilsding merged commit 0a8b647 into stable-33.0 Mar 18, 2026
18 of 19 checks passed
@nilsding nilsding deleted the backport/9637/stable-33.0 branch March 18, 2026 11:33
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant