<?php posix_geteuid(): int
<?php private function isLinuxRoot(): bool { return PHP_OS_FAMILY !== 'Windows' && posix_getpwuid(posix_geteuid())['name'] === 'root'; } private function cleanupReadOnlyFile(string $filename): void