Don't set up full filesystem to check for certificates

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-02-25 22:02:07 +01:00
parent 0b7449e78e
commit 88f4e972c5
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA

View file

@ -85,6 +85,9 @@ class Manager implements IMountManager {
if (strpos($path, '/appdata_' . \OC_Util::getInstanceId()) === 0) {
// for appdata, we only setup the root bits, not the user bits
\OC_Util::setupRootFS();
} elseif (strpos($path, '/files_external/uploads/') === 0) {
// for OC\Security\CertificateManager, we only setup the root bits, not the user bits
\OC_Util::setupRootFS();
} else {
\OC_Util::setupFS();
}