Added a comment
[ikiwiki.git] / doc / forum / ikiwiki_generates_html_files_with_600_permission. / comment_4_8b988d85cfde123798238d0348764c79._comment
1 [[!comment format=mdwn
2  username="http://smcv.pseudorandom.co.uk/"
3  nickname="smcv"
4  subject="comment 4"
5  date="2011-11-28T09:52:38Z"
6  content="""
7 Joey merged my branch, so from the next release of ikiwiki you'll be able
8 to say `umask => 'public'` (or `private` or `group` for the other two
9 potentially-useful umasks).
10
11 I'm not sure what you mean about mixing modes? The wrapper modes are
12 something else - the wrapper modes are about who can run the CGI (or the
13 git commit hook) and whether they're setuid (run as the user who owns
14 the wiki) or not (run as the web server user or the git push user),
15 whereas `umask` is about the permissions that ikiwiki will assign to
16 new files it creates (like the HTML).
17
18 A typical public wiki like this one will have `umask => 'public'`;
19 the wrapper modes will either be `0755` or `04755` (both octal),
20 depending on the details of how the web server runs the CGI
21 and how git pushes are done.
22 """]]