Learning How to Change File Permissions in Joomla

0
11

As a Joomla developer, you have seen a CSS file or template show in red as "unwritable" in the administration area after you make a change to the file. This is very common and can be a bit unnerving at first. This change does not affect the file or cause it to stop working properly, it just means that the permissions have been changed on the server. There is a simple way to change the permissions on these files so that they are shown in green as "writable" and this article will explain how to make the change.

For the purpose of this article, I assume that you are familiar with the Joomla administration area and understand how to use FTP to access the files on the server that is hosting the site.

First, you will have to use an FTP program and login in to the location of your Joomla site. You will have to use an FTP program that allows you to change permissions directly on the server, most do. Also, you will have to have your site hosted by an ISP that allows you to change file permissions. It's rare these days to have an ISP that will not allow you to change permissions.

If you want to change the permissions on a template, after logging in to the root of your server via FTP, go to "Templates" and then look for your default template, enter that directory and then look for "CSS". Look for the name of the file that needs to have its permissions changed. Highlight it then select "Info" or "Permissions" or use whatever method your FTP program uses for allowing you to view the permission setting on a particular file.

You want to make sure that "Owner Access" is set to on. This is giving permission for the file to be "Writable" by only the owner. DO NOT make any of the other owners writeable, the other two are "Group Access" and "Others" as this will create a security problem by allowing visitors to change the document.

Close the FTP Program. Go back to the Administration area of ​​your Joomla install, check the CSS area and your file should now show as "Writable" in green.

The same technique can be used on any document that is showing as unwritable, regardless of what type of file it is. You will just have to find the location of the document on your server to make the change.

Please make sure you understand this procedure well before attempting to make any permissions changes. If you feel uncomfortable with this, contact your ISP for assistance.

Source

Leave a Reply