Author Topic: Fix Account Permissions problem  (Read 123 times)

0 Members and 1 Guest are viewing this topic.

Fix Account Permissions problem
« on: September 07, 2020, 02:42:45 AM »

I would like to report an issue after using the "Fix Account Permissions".
The fix does the following : chmod files to 644, php files to 640 and folders to 755.

The problem is that someone using Joomla and nginx as webserver using that option will have problems with the website showing "403 Forbidden" error because index.php gets the 640 permission.
Is it possible to have one more option to fix permissions having only the options to chmod files to 644 and folders to 755?

I spend a lot of time to find out that 640 permission added for php files and hope that this post will save some time to people trying to investigate "403 Forbidden error".

Thank you in advance.
You need a reliable hosting company for your website or your eshop?
Need a cheap, reliable, fast and secure hosting?
You want fast support and action to every technical issue?
Freespirits is here for you :) - Don't look any further!

Re: Fix Account Permissions problem
« Reply #1 on: September 07, 2020, 08:24:02 AM »
this is same as
Code: [Select]
cd /home/user/public_html
find -xtype d | xargs   chmod 755
find -xtype f |xargs chmod 644

also check if you've filesystem lock enabled or the php files are immutable.