Not Logged In < login >


ARTICLES
..........................................
go back

  Email Article
 
..........................................
Still need help?
Log a Ticket
 
 

 

 

 

 

 

 

 

 

 

 

Permissions problems with Movable Type
Candi Best
If you are using the blog software called Movable Type and are receiving strange permission errors (resetting back to 666 and consequently receiving an internal server error), you will need to edit your mt.cfg (or mt-config.cgi) file.

Find the following lines:

# DBUmask 0022

# HTMLUmask 0022

# UploadUmask 0022

# DirUmask 0022

You need to remove the # symbols in front of all four lines, like this:

DBUmask 0022

HTMLUmask 0022

UploadUmask 0022

DirUmask 0022

If, and only if, your files are using .php extensions, you will need to also find the following:

# HTMLPerms 0777

# UploadPerms 0777

Uncomment those two lines and change it to this:

HTMLPerms 0644

UploadPerms 0644

Save and re-upload mt.cfg, and rebuild your entire weblog.

You have to do this because our server runs under SuExec. Uncommenting those lines will eliminate the permissions problems.

Save and re-upload your mt.cfg file to the appropriate directory in ASCII mode.

If you have done all of this and it still is giving you a forbidden error when viewing entries-- are you using categories? If so, you will have to change the permissions on the category folders manually, because Movable Type doesn't seem to do it on its own.

Say your blog is installed in a subdirectory called /weblog

Make sure /weblog itself is set to 755. Also make sure any folders underneath (your category folders) are also set to 755. Then rebuild once more, and that should do the trick!

If you do not feel comfortable editing the file, please submit a support ticket with your request that includes your FTP password and the directory where your MT files are installed and I will edit it for you.

 

 


 

Powered by PerlDesk
Copyright © 2003 PerlDesk