UploadPerms
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
In addition to controlling permissions via umask settings, you can also
use the HTMLPerms and UploadPerms settings to control the
default permissions for files created by the system (either as output files
or uploaded files). The only real use of this is to turn on the executable
bit of files created by the system—for example, if MT is generating PHP
files that need to have the executable bit turned on, you could set
HTMLPerms to 0777
.
- Default value:
0666
Example:
UploadPerms 0777