fix: tear down the file system before setting up the file system for …#39518
fix: tear down the file system before setting up the file system for …#39518DeepDiver1975 merged 1 commit intomasterfrom
Conversation
This comment has been minimized.
This comment has been minimized.
…the share owner of a public share + more logging
8797459 to
f3091c4
Compare
|
SonarCloud Quality Gate failed. |
|
Well .... That file is not unit testable ... 🤷 |
|
Then @micbar has the mighty power the merge regardless of the SonarCloud result :) |
This comment has been minimized.
This comment has been minimized.
This instance has no shib, only AD |
|
could that have performance implications? |
tearing down the fs is a fairly simple operation ... I can hardly imagine any impact. I (or anybody else) could have a look into this if time permits .... |
|
Stacktrace without shib ownCloud 10.8.04 User can't access public-links when logged in. |
|
@IljaN please add these log lines to see if the fs is the issue: THX |
|
@DeepDiver1975 None of the log messages from this PR were fired after applying the Patch. Non the less the Patch fixes this. We tried to remove it again on a test-instance and logged-in pub shares were broken. |
especially in the scenario where pub shares are broken I'd expect the log message. Do not apply the rest of the patch. |
|
@DeepDiver1975 this is not in the |
no - thx |
…the share owner of a public share + more logging (#39518)
|
Tested public links without shib. |








…the share owner of a public share + more logging
Description
In some rare cases (observed in some shib setups) public links don't work properly.
This happens because the session holds the currently logged in user which is not the share owner.
As a result the file system could not be set up properly.
This PR adds logging and forces teardown of the file system before setting up the file system for the share owner.
Related Issue
How Has This Been Tested?
Types of changes
Checklist: