From 956ea0bbf41c451d1de08615575972ef887dec5f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 19 Aug 2026 23:03:56 -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 2.12.1