response
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 4 Mar 2009 18:58:20 +0000 (13:58 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 4 Mar 2009 18:58:20 +0000 (13:58 -0500)
doc/setup/discussion.mdwn

index 78da1a0f2d4698f43eea7169f61648e525ff8871..89114d7a2c159ef7df3513db092fe84841e1fe51 100644 (file)
@@ -153,3 +153,15 @@ But I don't get an edit link on my pages?  What am I doing wrong?
 ----
 
 I setup ikiwiki on a fedora 10 machine and I am using apache as my http server. Faced a few difficulties while setting it up as the default setup program left some suid files and group writeable directories on the system. It took some time to get it working and documented what I did at http://flyingtux.blogspot.com/2009/03/installing-ikiwiki.html. Thought it might be useful to someone here. (The version installed is 2.72)
 ----
 
 I setup ikiwiki on a fedora 10 machine and I am using apache as my http server. Faced a few difficulties while setting it up as the default setup program left some suid files and group writeable directories on the system. It took some time to get it working and documented what I did at http://flyingtux.blogspot.com/2009/03/installing-ikiwiki.html. Thought it might be useful to someone here. (The version installed is 2.72)
+
+> ikiwiki makes wrappers suid by default, because this ensures that when
+> the ikiwiki.cgi is run by your web server, it runs as the user who owns
+> your wiki, and can thus write to it. ikiwiki is designed to run securely
+> suid. If your webserver uses some
+> mechanism to run the ikiwiki.cgi as the user who owns it, without the
+> suid bit being set, you *could* modify `cgi_wrappermode` in your setup
+> file to drop the suid bit. 
+> 
+> ikiwiki respects the umask, so if your umask is one that causes things to
+> be group writable, they will by. If you want to override that, there is
+> also a `umask        ` setting in your setup file. --[[Joey]]