Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
operations:file_permissions [2017/03/21 12:33]
eServices Greece
operations:file_permissions [2017/03/21 12:42] (current)
eServices Greece
Line 1: Line 1:
 ====== File Permissions ====== ====== File Permissions ======
-===== Joomla ===== +===== General ===== 
-Directories +These are the default permissions for all files on CMS, Forums etc (Joomla, Wordpress, phpMyAdmin, myBB, etc) 
-<sxh bash>  +==== Directories ==== 
-find . -type d -exec chmod 755 {} \; +<sxh bash>find . -type d -exec chmod 755 {} \;
-</sxh> +
-Files +
-<sxh bash> +
-find . -type f -exec chmod 644 {} \;+
 </sxh> </sxh>
 +==== Files ====
 +<sxh bash>find . -type f -exec chmod 644 {} \;</sxh>
 +
 +===== Application Specific =====
 +
 +==== Joomla ====
 +<sxh bash>chmod 644 configuration.php</sxh>
 +
 +==== MyBB ====
 +<sxh bash>chmod 666 inc/config.php inc/settings.php
 +chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/</sxh>