Joomla 1.5 templates permissions issue

Regarding problems encountered while using the website owner interface.
Post Reply
Posts: 18
Joined: Sun Feb 10, 2008 5:20 am

Joomla 1.5 templates permissions issue

Post by blacknight » Wed Feb 20, 2008 10:55 am

We've had a few issues from clients here when they go to use Joomla 1.5's new template feature. Basically they are getting a lot of "permission denied" errors. The issue would easily be solved by changing permissions on all the relevant folders and files to 777, however this isn't secure and so isn't satisfactory to some clients.

For those customers we set the group ownership of the entire Joomla folder to apache (this was easier than just changing the group ownership on the relevent folders). However there was still some files in some folders that did not have group-write permissions. Again this just involved changing the permissions on those files to 664 (or 775). The only thing about all of this is that it is time consuming for us to do and annoying from some customer's point's of view as they have to contact us to get it fixed (unless they are happy with 777 permissions).

I know it's not really your fault for this, but I was just wondering if there was any way for the Installatron to update the permissions\ownership on these files automatically during the install? All the cases we've had so far were by people installing it through Installatron.

Posts: 235
Joined: Tue Jun 19, 2007 7:39 am

Re: Joomla 1.5 templates permissions issue

Post by Rowan » Wed Feb 20, 2008 7:19 pm

Joomla 1.5 uses an FTP layer for file uploading, so chmod values should stay at the defaults of 644 for files and 755 for directories.

The FTP settings can be configured during install, or after install using the |config| button in Installatron or by manually editing the configuration.php file in the install directory.

Essentially, Joomla wants an FTP login that it can use to upload files. The primary values required are a username, password, and path, though the port needs to be set if you use something different on your server.

Joomla's documentation says that you should create a new FTP account that loads directly to the Joomla install directory, however not all control panels allow this (notably, Plesk doesn't allow it). The documentation also says that the path should be a full server path to the root directory of the FTP login, but in my experience that doesn't work on all servers. Some (might be Plesk again) require a path to the root directory of the FTP login that is relative to the domain's root directory.

So, some trial and error is required to get the FTP layer working. We'll probably see it refined over the next few Joomla releases.


Post Reply