Merge pull request #51719 from nextcloud/backport/51594/stable30

[stable30] fix(occ): Suppress errors when checking config.php fileowner
This commit is contained in:
Kate 2025-03-27 10:21:57 +01:00 committed by GitHub
commit e058f7fc55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
occ
View file

@ -17,7 +17,7 @@ function dropPrivileges(): void {
}
$configPath = __DIR__ . '/config/config.php';
$uid = fileowner($configPath);
$uid = @fileowner($configPath);
if ($uid === false) {
return;
}