Movable Type permissions changing to 666
When you first install Movable Type on your server, you will need to edit the home.html permissions and add code to the mt-config.cgi. If you skip this step you will get many "Internal Server errors" on your site.
Fixing the Permissions in Movable Type
Movable Type by default forces all the file permissions to be 666 for the pages. Even if you manually change the permissions on the server, Movable Type will automatically change the permissions back to 666. When files have 666 permissions on suEXEC or CGIwrap server, an "Internal Server Error" will be thrown. This article will explain how to fix the permissions in your Movable Type program.
- Login into your cPanel.
- Go to the File Manager. Select your Movable Type directory and click Go.
- Change the permissions of the home.html file from 666 to 644.
Save the file.
- Go to your cgi-bin/mt-config.cgi file and edit it. Add the following code to the end of the file.
DBUmask 0022 HTMLUmask 0022 UploadUmask 0022 DirUmask 0022
Important! Movable Type will not reset the permissions from 666 to 644 automatically. You will need to set the permissions manually on the server initially. After that, the file permissions will be saved correctly.
Save the changes
Now when you create new pages and you edit the home.html page, you will not get the "Internal Server Error". Pages created from here on will all have the 644 permissions.
‹Section 4: How to Set Your Movable Type Homepage
›Section 6: How to change the default language in Movable Type
Getting Started with Movable Type
Setting up Movable Type
|1.||How to Install Movable Type with Softaculous|
|2.||How to log into your Movable Type admin dashboard|
|3.||Resetting Your Password in Movable Type|
|4.||How to Set Your Movable Type Homepage|
|5.||Movable Type permissions changing to 666|
|6.||How to change the default language in Movable Type|
Search and Navigation
|7.||Using the Filtering Interface in the Movable Type Administrator|