Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
layout: post | ||
meta_keywords: expressionengine, folder permissions, shell script, chmod | ||
meta_description: Correctly sets permissions for a new ExpressionEngine site | ||
title: ExpressionEngine Permissions | ||
summary: Correctly sets permissions for a new ExpressionEngine site | ||
categories: shell-scripts | ||
github_gist: http://gist.github.com/gists/175451/ | ||
|
||
--- | ||
|
||
* **Author**: [George Ornbo][] | ||
* **Source Code**: [Github][] | ||
|
||
## Compatibility | ||
|
||
* ExpressionEngine Version 1.6.x | ||
* POSIX compliant Operating System | ||
|
||
## License | ||
|
||
ExpressionEngine permissions is free for personal and commercial use. | ||
|
||
Copyright is licensed under a [Open Source Initiative - BSD License][] license. | ||
|
||
## Installation | ||
|
||
Add the file exp_permissions.sh to your /bin folder. | ||
|
||
Remember to make the file executable. Details on how to make shell scripts executable can be found [here](http://shapeshed.com/s/2351) | ||
|
||
## Name | ||
|
||
{{ page.title }} | ||
|
||
## Synopsis | ||
|
||
{{ page.summary }} | ||
|
||
## Description | ||
|
||
To use this script navigate to the root of your ExpressionEngine site and then run the script: | ||
|
||
exp_permsissions.sh | ||
|
||
You will be prompted to enter a system folder. If you are using the default 'system' just hit return. If you are using a custom folder name enter it here. | ||
|
||
If all goes well the script will exit silently. | ||
|
||
The script sets the following permssions: | ||
|
||
666: | ||
|
||
* /path.php | ||
* /system/config.php | ||
* /system/config_bak.php | ||
|
||
777: | ||
|
||
* /images/avatars/uploads/ | ||
* /images/captchas/ | ||
* /images/member_photos/ | ||
* /images/pm_attachments/ | ||
* /images/signature_attachments/ | ||
* /images/uploads/ | ||
* /system/cache/ | ||
|
||
[George Ornbo]: http://shapeshed.com/ | ||
[ExpressionEngine]:http://www.expressionengine.com/index.php?affiliate=shapeshed | ||
[Open Source Initiative - BSD License]: http://opensource.org/licenses/bsd-license.php | ||
[Github]: http://gist.github.com/gists/175451/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: default | ||
title: Shell Scripts | ||
meta_keywords: bash, shell script, scripts, perl | ||
meta_description: Bash and Shell Scripts available for download and written by George Ornbo | ||
--- | ||
|
||
<h1>Shell Scripts</h1> | ||
<ul class="posts"> | ||
{% for post in site.categories.shell-scripts %} | ||
<li><a href="{{ post.url }}">{{ post.title }}<br /></a>{{ post.summary }}</li> | ||
{% endfor %} | ||
</ul> |