2015-06-09 11:50:00 +02:00
|
|
|
[[!meta date="2009-08-02 13:35:04 -0400"]]
|
|
|
|
|
2009-08-02 19:35:04 +02:00
|
|
|
When using [mathopd](http://www.mathopd.org) to serve ikiwiki, be careful of your Umask settings in the mathopd.conf.
|
|
|
|
|
2009-08-02 19:40:06 +02:00
|
|
|
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.
|
2009-08-02 19:35:04 +02:00
|
|
|
|
|
|
|
append_indexes: cannot open .../[destdir]/[outputfile].html
|
|
|
|
open: Permission denied
|
|
|
|
|
|
|
|
With `Umask 022` in mathopd.conf, editing pages works.
|
|
|
|
|
|
|
|
Hopefully this prevents someone else from spending ~2 hours figuring out why this wouldn't work. ;)
|
2009-08-04 19:50:52 +02:00
|
|
|
|
|
|
|
> More generally, if your web server uses a nonstandard umask
|
|
|
|
> or you're getting permissions related problems in the cgi log
|
|
|
|
> when using ikiwiki, you can force ikiwiki to use a sane umask
|
|
|
|
> via the `umask` setting in ikiwiki's own setup file. --[[Joey]]
|