Directory and File Permissions

So you are ready to get started with the install. You have uploaded the package and extracted it somewhere on your remote site, now what. First thing we need to do is CHMOD some files. CHMOD is the Unix command (available on Linux too) that you use to change the read-write-execute privileges for your files and directories.

When your site is hosted on a non-Unix Operating System, you need to use the commands from that OS. Eg. on Windows you use the Windows Explorer or the IIS Controlcenter when you have access to the server or you use the control panel that your provider made available for controling your site. We keep talking about CHMOD in this manual and tell you what settings need to be made.

Use CHMOD for setting access privileges for your files and directories. You will need to check and change the following if necessary. If you are new to CHMOD settings, you can set them with your FTP program that you used to upload the files to your site.

In the following section of this chapter, we provide you with most compatible settings to use when setting privileges on your directories and files. While these settings may create an insecure situation, we know from experience these settings always work in the majority of setups. It is possible to use a more secure set of permissions for these files and directories, however you will need to experiment with different settings in order to determine what will work with your particular setup. In many cases using a CHMOD of 0755 for directories and 0644 for files will provide the best security without interfering with normal MPN operation. Please contact your hosting provider when having problems with setting file and directory permissions as they may have special requirements for making these changes.

Directory Permission details

CHMOD these directories to 0777. This means they need to have read, write & execute permissions for the owner, the group and the world.

  • admin/myphpnuke
  • admin/original
  • cache
  • gallery/gallery
  • gallery/gallery/Art
  • gallery/temp
  • uploads/mail

File Permission Details

CHMOD these files to 0666. This means they need to have read-write permission for the owner, for the group and for the world.

  • dbconf.php
  • ultramode.txt
  • admin/blockcenter/config.php
  • admin/download/config.inc.php
  • admin/emailuser/html.inc.php
  • admin/gallery/config.php
  • admin/guestbook/config.php
  • admin/original/dbconfig.php
  • admin/rand_banners/config.php

This is the MOST important step in the install. If you skip this step you will be unable to complete the install successfully, and you will also have problems running MPN. Please double-check these settings before posting questions on the MPN forum.

User Contributed Notes
inst_dir_file_permissions.php
Add Note Add Note About Notes
There are no user contributed notes for this page.
Last updated: Thu, 08 May 2008 - 11:17:36