Hot answers tagged

22

There are a few potential causes for file and folder permission issues on Linux hosting. 1. File and Folder Permissions Check folder permissions are set to 0755 and file permissions are set to 0644. Note that file and folder permissions can be reset to these standard secure settings on a site wide basis using the free or the paid version of Akeeba Admin ...


12

Please check the permission levels, it should be 644 and 755 for files and folders respectively. Many times the permission levels are just fine, even when some issues are faced. It means that you will have to check the the ownership and group of the specific files and folders. Normally the group and ownership can be changed to www-data for apache (used in ...


8

An easy solution for me is to often let PHP run in (Fast-)CGI mode and to set the ownership of the Joomla directory to the FTP user. So you will be able to upload and overwrite files via FTP and Joomla will be able to write files too. A way to do this on a shared hosting environment (if it is allowed), is to add something like this to your .htaccess file: ...


7

Permissions should be 644 and 755 as explained by Shyam. In Joomla you can avoid all the problems you mentioned ,with following methods. Not being able to transfer files to the server using programs such as WinSCP. This may happen due to permission of (444) like Joomla configuration.php have this permission its doesn't allow by default(for security). ...


7

Permissions should be 644 and 755 as explained by Shyam. The problems you are facing are most likely related to the way your server is set up. Most of the time this happens on shared hosts where Apache runs under a different user than your FTP account. Since you usually upload Joomla using FTP, Apache isn't the owner of the file and thus doesn't have the ...


5

Yes, the permissions should be 644 and 755 as explained by Shyam, but the other posters forget to mention that this is if the file is owned by your webserver, and the group is the group you belong to. For instance, in FileZilla you will see permissions something like this: Filename Size Filetype Last Modified Permissions Owner/Group ...


4

The other answers provides a good explanation of what should be done, I only want to add a script to fix the permissions if you already uploaded a component and can't access the files with ftp. In this case I would upload this file as fix.php to the FTP server and open it in the browser: http://example.com/fix.php <?php file_fix_directory(dirname(...


3

It's likely you'll want to change ownership to user www-data. You can see the user assigned to that space by doing # cat /etc/passwd. Always be careful when touching objects as root. You can break a lot of things.


1

There is something wrong with the container Volume. Try to delete your container first and then create it again. docker container prune and then docker-compose up * this is the accepted answer to a cross-posted question on Stack Overflow.


1

Based on the previous comments under the original question where we excluded many basic sources of failure of Joomla installation, I am now giving the possible solutions or causes here. As I wrote in the comment: this is not a Joomla error or not an error derived from Joomla, but from wrong server configurations. It could be MySql or the http server itself, ...


1

What 3rd party extensions do you have? My guess is your have a plugin or something that is having issues and that is causing the error. Make sure error reporting is set to E_ALL (check in phpinfo.php) so it catches depreciated errors as well.


1

In linux, you can find out the name of the user running Apache with a command : ps aux | grep apache # shows username in the first column Retrieve the groups this user is part of with the groups(1) command: groups [USERNAME] Here is a screenshot to find out apache [user-name] and [user-group] in Ubuntu 12.04


1

Late to the party. I came here looking as well as other places for a definitive guide on what folders need to be writeable for joomla. Sorry folks to be the harbinger of bad news. The advice to use the permissions 755 for all directories and 644 for all folders is irresponsible at the very least. Making all your folders and files owner writeable is fine ...


Only top voted, non community-wiki answers of a minimum length are eligible