ExpressionEngine permissions shell script

Every ExpressionEngine install requires that a number of permissions are set on folders and files. Here's a shell script to do the hard work for you.


If you are comfortable using shell scripts you can download the file here. The file sets all the necessary permissions on a default installation of ExpressionEngine and allows you to specify a custom system folder name if you have set one. If you are not comfortable using shell scripts I’ve written a how to article for OSX and Linux.

Script usage

To use the script change directory to the root of your ExpressionEngine install and run:

You’ll be asked for the system folder name. If you have changed this for any reason enter it here. If you have not changed it just hit return.

If all goes well you won’t see anything. If for any reason the script cannot find the folders it will tell you.

What it does

The script sets file permssions as detailed on the ExpressionEngine installation page.


The script is licensed under an Apache License, Version 2.0.


Can you help make this article better? You can edit it here and send me a pull request.

See Also