Start a FREE 7 day trial! Get training videos and books, plus expert support:  

Joomla Tutorials and Blog Posts

Admin Tools - Change Folder and File Permissions

A common issue with server migration, component installation, and site security in Joomla is folder and file permissions. For an explanation of Folder and File Permissions in Joomla please visit our previous tutorial, How to Change Joomla Folder and File Permissions. In this tutorial however we are going to show you how to use a new extension on the JED, Admin Tools, which is a powerful way to quickly correct any folder and file permissions.

Download

tutuploadstutuploadsmedia_1295304377292.png
tutuploadstutuploadstutuploadstutuploadstutuploadsmedia_1288738580353_7b5471cf272f83946411a390530cf63d.png

Download now

Install

tutuploadstutuploadstutuploadstutuploadstutuploadsmedia_1288739131664_9cb10a7971a466b8aad4519600bcbe00.png

In your site's administrator area, go to Extensions -> Install/Uninstall, click Browse to find the file and click Upload File & Install to complete the upload.

Changing Folder and File Permissions

tutuploadstutuploadstutuploadstutuploadstutuploadsmedia_1288739303330_37c3a1c6ae888c19bf2b3f4ca4301ada.png

In your site's administrator area, go to Components >> Admin Tools

tutuploadstutuploadstutuploadstutuploadstutuploadsmedia_1288739506760.png

By default almost all Folders and Files should be 0755 and 0644 respectively, and therefore this is the default setting for Admin Tools. Click on Fix Permissions to use the default.

tutuploadstutuploadstutuploadstutuploadstutuploadsmedia_1288739856093.png

Give it time to fix all permissions. The more files you have the longer it will take.

Once completed, you're done! That's all there is to it! You've just fixed permissions on all your folders and files within your installation in a matter of minutes!

The next section is the advanced section and is only needed if you desire to modify individual folders and files.

Advanced - Permissions Configuration

tutuploadstutuploadstutuploadstutuploadstutuploadsmedia_1288740073289.png

Sometimes you may need modify a folder or file with a permission other than default. You can configure each folder and file on an individual basis in Permissions Configuration.

tutuploadstutuploadstutuploadsmedia_1288760345948.png

The top section, titled Default permissions, allows you to configure the permissions which will be applied if nothing different is configured.

tutuploadstutuploadstutuploadstutuploadstutuploadsmedia_1288740532939.png

The middle section shows the path to the currently selected directory and allows you to quickly navigate through the folders by clicking on their names.

tutuploadstutuploadstutuploadsmedia_1288760570573.png

The bottom section is split in two panes, Folders and Files. Each pane lists the folders and files inside the current directory. Clicking on the name of a folder will navigate inside that folder. There are three columns next to each folder. The first displays the current owner (user:group format). The second displays the current permissions of that directory in the file system. The final column contains is a drop down list. The default setting, represented by dashes, means that there is no specific preference for this folder/file and the default permissions will be applied to it. If you select a customized permissions setting remember to click the Save custom permissions button before navigating to another folder or returning to the control page, otherwise your settings will be lost.

tutuploadstutuploadstutuploadsmedia_1288760645610.png

Run Fix Permissions (see Changing Folder and File Permissions Step) after you have configured the permissions to make sure all folders and files are corrected.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: