X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6810e5feaa072755bc2beebc80b923f2420004cf..c0c74937a60ec3a9e5e1c3b9cf7e8af15768f711:/doc/tips/mathopd_permissions.mdwn?ds=sidebyside diff --git a/doc/tips/mathopd_permissions.mdwn b/doc/tips/mathopd_permissions.mdwn index ebcff995e..c0425b9ca 100644 --- a/doc/tips/mathopd_permissions.mdwn +++ b/doc/tips/mathopd_permissions.mdwn @@ -1,6 +1,6 @@ When using [mathopd](http://www.mathopd.org) to serve ikiwiki, be careful of your Umask settings in the mathopd.conf. -With `Umask 026` in mathopd.conf, editing pages would result in the following errors and a 404 page when the wiki tried to take me to the updated page. +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. append_indexes: cannot open .../[destdir]/[outputfile].html open: Permission denied @@ -8,3 +8,8 @@ With `Umask 026` in mathopd.conf, editing pages would result in the following er 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. ;) + +> 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]]