summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-12-26 14:50:25 -0400
committerJoey Hess <joey@kitenet.net>2010-12-26 14:50:25 -0400
commit7fe2a55b94a314d0118b190e422ce0e4d50342a9 (patch)
tree921bdcb1433bb4666328ca268178f64f7849be2a /doc
parent961a119986bb4a1472cc4ca43ba277344b1cdbf3 (diff)
answer; close
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/More_permission_checking.mdwn8
1 files changed, 8 insertions, 0 deletions
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]]