The Movable Type Knowledge Base

Control File And Directory Permissions

Question

How can I control the permissions on the files and directories generated by Movable Type?

Answer

Permissions on the generated files and directories are controlled by the *Umask and *Perms settings in the mt-config.cgi1 file.


# DBUmask 0022
# HTMLUmask 0022
# UploadUmask 0022
# DirUmask 0022
#
# HTMLPerms 0777
# UploadPerms 0777

For more information on using these settings correctly, see My PHP Output Files Need To Be Executable.

1 In versions prior to 3.2, the configuration file is named mt.cfg.

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.