Magento Filesystem Permissions

Last modified by Moshe on Thu, June 24, 2010 15:26
Source|Old Revisions  

This is an old revision of the document!

This article will give an idea about file and folder permissions required by Magento.

General concepts

UNIX file permissions

If you are not familiar with UNIX style permissions please read one of the articles found here:

Web application file access

Magento is a web application, or set of scripts, which are interpreted by a PHP executable, which in it’s turn is invoked by a web service process (ex. apache).

Magento will have as much access permissions to the file system as the user under which PHP executable was invoked.

If apache is configured to run PHP using mod_php module, then Magento will be run under same user apache runs (ex. apache, nobody)

If apache is configured to use suEXEC ( or suPHP ( then it will run under the same user you use for FTP or shell access. This will be possible only with CGI or FCGI configuration.

Operating Requirements

Normal Operation

During normal operation of Magento store only 2 folders need to be writable

Different environments