From 7fe2a55b94a314d0118b190e422ce0e4d50342a9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 26 Dec 2010 14:50:25 -0400 Subject: [PATCH] answer; close --- doc/bugs/More_permission_checking.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/bugs/More_permission_checking.mdwn b/doc/bugs/More_permission_checking.mdwn index e56cda98b..6cd6cb0ec 100644 --- a/doc/bugs/More_permission_checking.mdwn +++ b/doc/bugs/More_permission_checking.mdwn @@ -7,3 +7,11 @@ I think I've triggered these problems by (not thinking and) running `ikiwiki --r I don't know if there can be some lookup with `/etc/ikiwiki/wikilist`. Though shouldn't everything be under the `www-data` group in reality? Also when I use `sudo ikiwiki -setup /etc/ikiwiki/auto.setup`, I think I create a ton of problems for myself since everything is created as the root user, right? And `/etc/ikiwiki/wikilist` doesn't seem to have the latest created wiki added. I have to reluctantly manually do this. + +> You should never make files be owned by www-data user or group. +> Ikiwiki is designed to run as a single user, which can just +> be your login user; all files should be owned by that user, the +> ikiwiki.cgi and other wrappers suid to that user. And then there are +> never any permissions problems. --[[Joey]] + +[[done]] -- 2.44.0