From 0c36d1a7ee50ac5adfc3b5dcf2614ef04822b02e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 23 Aug 2026 17:09:05 -1000 Subject: Document cache directory ownership --- custom/cgitrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/cgitrc b/custom/cgitrc index 4b0b4ac..c284aca 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -27,7 +27,9 @@ cache-size=0 # Directory used to store cgit cache entries. Value is a filesystem path that -# may use macros. Default is /var/cache/cgit. +# may use macros. Default is /var/cache/cgit. The directory must be owned by +# the account the web server runs cgit as, with mode 0700, since the cache +# holds every rendered page and the URLs visitors asked for. #cache-root=/var/cache/cgit # Minutes to cache the repository index page. Value is an integer number of -- cgit v2.8.0