Movable Type publishes weblog pages with 0666 permissions by default, unless certain directives have been added to the mt-config.cgi configuration file which instructs Movable Type to publish weblog pages with different permissions. The following settings, when added to the mt-config.cgi configuration file, would cause Movable Type to publish weblog pages with 0644 permissions and create new directories with 0755 permissions:
DBUmask 0022
HTMLUmask 0022
UploadUmask 0022
DirUmask 0022
If you require weblog pages to be published with 0755 permissions (because the server requires PHP files to have0755 permissions, for example), you would need to add one more directive in addition to the ones above to themt-config.cgi configuration file:
HTMLPerms 0777
After adding the above directives to the mt-config.cgi configuration file, you may need to delete the existing index and archive pages on the server, then republish your weblog in order for the new file permissions to take effect.
blog comments powered by Disqus