]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/ikiwiki_generates_html_files_with_600_permission./comment_1_6d73d412a9cc6f6ae426b62885c1f157._comment
Added a comment: your shell has a restrictive umask
[ikiwiki.git] / doc / forum / ikiwiki_generates_html_files_with_600_permission. / comment_1_6d73d412a9cc6f6ae426b62885c1f157._comment
1 [[!comment format=mdwn
2  username="http://smcv.pseudorandom.co.uk/"
3  nickname="smcv"
4  subject="your shell has a restrictive umask"
5  date="2011-11-27T13:24:57Z"
6  content="""
7 Your shell login to the server (presumably SSH?) is running under a
8 restrictive `umask`, and by default ikiwiki doesn't overrule that.
9 For instance, perhaps you're using the `pam_umask` module, or
10 perhaps your `.bashrc` sets a restrictive mask. This is generally
11 a good thing for privacy from other users of a shared server, but
12 counterproductive when you're publishing things!
13
14 You can configure ikiwiki to set a less restrictive `umask` with
15 the `umask` option in your setup file. 18 is probably a good value
16 (18 decimal = 022 octal, and a `umask` of 022 octal corresponds
17 to `chmod 0755`, because the `umask` is subtracted from 0777 octal
18 to get the default permissions).
19 """]]