From d9263b41380f2be04449a30babf00ea39dbaa734 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Wed, 20 Nov 2024 12:47:30 +0700 Subject: [PATCH] Webserver must own the session files #10837 Otherwise, `sudo eco permissions` will change owner and visitors with sessions will see crashing website --- configuration/Permissions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration/Permissions.php b/configuration/Permissions.php index 1822a1ac..06e4fbb6 100644 --- a/configuration/Permissions.php +++ b/configuration/Permissions.php @@ -35,6 +35,7 @@ ], [ 'path' => 'data/session', + 'owner' => $webserver, 'permissions' => '0770', 'recursive' => true, ],