]> sipb.mit.edu Git - ikiwiki.git/blob - doc/tips/mathopd_permissions.mdwn
(no commit message)
[ikiwiki.git] / doc / tips / mathopd_permissions.mdwn
1 When using [mathopd](http://www.mathopd.org) to serve ikiwiki, be careful of your Umask settings in the mathopd.conf.
2
3 With `Umask 026` in mathopd.conf, editing pages resulted in the following errors and a 404 page when the wiki tried to take me to the updated page.
4
5     append_indexes: cannot open .../[destdir]/[outputfile].html
6     open: Permission denied
7
8 With `Umask 022` in mathopd.conf, editing pages works.
9
10 Hopefully this prevents someone else from spending ~2 hours figuring out why this wouldn't work. ;)
11
12 > More generally, if your web server uses a nonstandard umask
13 > or you're getting permissions related problems in the cgi log
14 > when using ikiwiki, you can force ikiwiki to use a sane umask
15 > via the `umask` setting in ikiwiki's own setup file. --[[Joey]]