The Movable Type Knowledge Base

Mkdir: Permission Denied At Local.pm

Question

When I save an entry or rebuild my site, I receive an error that says mkdir /some/path: Permission denied at /full/path/to/mt/lib/MT/FileMgr/Local.pm.

Answer

This error means that Movable Type is trying to create a folder which does not already exist at the specified location. Movable Type cannot create your blog folder for you, so:

  • Make sure that you have created the folder where you want Movable Type to publish your blog files.
  • Make sure you have properly set your paths in Settings > Publishing1. In almost all cases, you should be using a full server path for Site Root (and Archive Root, if applicable)2. (See How can I find my full server path? for more information.)

1 In versions prior to 3.2, navigate to Weblog Configuration > Core Setup.

2 In versions prior to 3.2, these are named Local Site Path and Local Archive Path.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.