diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2011-11-27 09:24:57 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-11-27 09:24:57 -0400 |
commit | 964be6671f0ec51c97cb9123f409ada7a446345c (patch) | |
tree | 8ecb4a755efa2ea9dec85001821f35b194fefa80 | |
parent | 1d6eab9f554ceb34282ca4faeeab85fea40c21ad (diff) | |
download | ikiwiki-964be6671f0ec51c97cb9123f409ada7a446345c.tar ikiwiki-964be6671f0ec51c97cb9123f409ada7a446345c.tar.gz |
Added a comment: your shell has a restrictive umask
-rw-r--r-- | doc/forum/ikiwiki_generates_html_files_with_600_permission./comment_1_6d73d412a9cc6f6ae426b62885c1f157._comment | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/ikiwiki_generates_html_files_with_600_permission./comment_1_6d73d412a9cc6f6ae426b62885c1f157._comment b/doc/forum/ikiwiki_generates_html_files_with_600_permission./comment_1_6d73d412a9cc6f6ae426b62885c1f157._comment new file mode 100644 index 000000000..7008a05ac --- /dev/null +++ b/doc/forum/ikiwiki_generates_html_files_with_600_permission./comment_1_6d73d412a9cc6f6ae426b62885c1f157._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="http://smcv.pseudorandom.co.uk/" + nickname="smcv" + subject="your shell has a restrictive umask" + date="2011-11-27T13:24:57Z" + content=""" +Your shell login to the server (presumably SSH?) is running under a +restrictive `umask`, and by default ikiwiki doesn't overrule that. +For instance, perhaps you're using the `pam_umask` module, or +perhaps your `.bashrc` sets a restrictive mask. This is generally +a good thing for privacy from other users of a shared server, but +counterproductive when you're publishing things! + +You can configure ikiwiki to set a less restrictive `umask` with +the `umask` option in your setup file. 18 is probably a good value +(18 decimal = 022 octal, and a `umask` of 022 octal corresponds +to `chmod 0755`, because the `umask` is subtracted from 0777 octal +to get the default permissions). +"""]] |