Uh oh!
There was an error while loading. Please reload this page.
feat: Add appconfig to disable fixed userfolder permissions optimization - #51145
Conversation
0b62c0e to
1b40100Compare
artonge
left a comment
There was a problem hiding this comment.
Feels like a hack, but I guess there is no better way to do it.
Is that optimization really worth it?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Fix for #51409 |
1b40100 to
b80b473Compareicewind1991
commented
May 12, 2025
For sure 🙈
Not that I can think of
It saves 1 or more cache operation for most requests and is applicable on 99%+ of instances so I would say so |
b80b473 to
f5c5279CompareSebastianKrupinski
commented
May 15, 2025
f5c5279 to
b313aaeCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
b313aae to
e415894Compare0ba0756 to
a3f7ed0Compare- Related to nextcloud/server#51145 Signed-off-by: Louis Chemineau <louis@chmn.me>
3b20fb7 to
079c883Compare…ons optimization Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Louis Chemineau <louis@chmn.me>
079c883 to
2a7add4Compare2a7add4 to
a250013Compareicewind1991
commented
Sep 29, 2025
👍 |
…mounted at / exists Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
a250013 to
1ab6dbaCompareicewind1991
commented
Jan 14, 2026
/backport to stable32 |
icewind1991
commented
Jan 14, 2026
/backport to stable31 |

Currently, to save having to fetch the metadata of the home folder in many cases, we always assume the same value for the permissions of the home folder.
This does however break if the admin has configured an external storage mounted at
/with different permissions.To fix those cases without breaking the optimization for other instances, this adds a flag in the appconfig to disable the optimization and actually fetch the correct permissions.
This flag is automatically set by the files_external app when such an external storage is detected
To test:
/and set as readonlyGroupfolders counterpart: nextcloud/groupfolders#4017