<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>mathopd permissions</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../tips.html">tips</a>/ </span> <span class="title"> mathopd permissions </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>When using <a href="http://www.mathopd.org">mathopd</a> to serve ikiwiki, be careful of your Umask settings in the mathopd.conf.</p> <p>With <code>Umask 026</code> 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.</p> <pre><code>append_indexes: cannot open .../[destdir]/[outputfile].html open: Permission denied </code></pre> <p>With <code>Umask 022</code> in mathopd.conf, editing pages works.</p> <p>Hopefully this prevents someone else from spending ~2 hours figuring out why this wouldn't work. <img src="../smileys/smile4.png" alt=";)" /></p> <blockquote> <p>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 <code>umask</code> setting in ikiwiki's own setup file. --<span class="createlink">Joey</span> </p> </blockquote> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Sun Aug 2 17:35:04 2009</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>