From 84eb5b19e34753beb56c57858b7a69b8bc8add8c Mon Sep 17 00:00:00 2001 From: AllenJB Date: Sat, 11 Oct 2025 13:39:10 +0100 Subject: [PATCH 1/3] session_gc: Add note regarding session.save_path and file access / permissions --- reference/session/functions/session-gc.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reference/session/functions/session-gc.xml b/reference/session/functions/session-gc.xml index 0f12d0b08d39..87898c9113d3 100644 --- a/reference/session/functions/session-gc.xml +++ b/reference/session/functions/session-gc.xml @@ -30,6 +30,15 @@ session.gc_probability to 0. + + + For session_gc to work correctly, the + session.save_path must be set + to the same value as web requests and the script must have access and + permissions for the same files. This may be affected by the user the script + runs as and container / sandbox features such as SystemD's PrivateTmp. + + From 9e1292f8d26d2f2ee1c17382ec50bbd45554c44c Mon Sep 17 00:00:00 2001 From: AllenJB Date: Sat, 11 Oct 2025 13:54:03 +0100 Subject: [PATCH 2/3] session_gc: Add note regarding session.save_path and file access / permissions --- reference/session/functions/session-gc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/session/functions/session-gc.xml b/reference/session/functions/session-gc.xml index 87898c9113d3..c90910e40562 100644 --- a/reference/session/functions/session-gc.xml +++ b/reference/session/functions/session-gc.xml @@ -32,7 +32,7 @@ - For session_gc to work correctly, the + For session_gc to work correctly, the session.save_path must be set to the same value as web requests and the script must have access and permissions for the same files. This may be affected by the user the script From 109e798f92cb1202db401e32054f0b898b2fd1fe Mon Sep 17 00:00:00 2001 From: AllenJB Date: Sat, 1 Nov 2025 17:58:00 +0000 Subject: [PATCH 3/3] Update reference/session/functions/session-gc.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Düsterhus --- reference/session/functions/session-gc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/session/functions/session-gc.xml b/reference/session/functions/session-gc.xml index c90910e40562..9bdbb80e2434 100644 --- a/reference/session/functions/session-gc.xml +++ b/reference/session/functions/session-gc.xml @@ -36,7 +36,7 @@ session.save_path must be set to the same value as web requests and the script must have access and permissions for the same files. This may be affected by the user the script - runs as and container / sandbox features such as SystemD's PrivateTmp. + runs as and container / sandboxing features such as systemd's PrivateTmp= option.