Jump to content

Error 403 when i will save edit


Vincenzo
 Share

Recommended Posts

Good Morning, 


I have a problem when i will save the edit inside my processwire, why the 403 errorre appears.

I checked the permission of the folders on my server:

drwxr-xr-x  5 www-data www-data 4096 giu 28  2021 .
drwxr-xr-x  5 www-data www-data 4096 feb 21 18:06 ..
drwxr-xr-x  7 www-data www-data 4096 ago 25  2020 assets
-rwxr-xr-x  1 www-data www-data  497 ago 21  2020 config-dev-dist.php
-rwxr-xr-x  1 www-data www-data 4093 set 14  2020 config.php
-rwxr-xr-x  1 www-data www-data  351 ago 21  2020 .htaccess
drwxr-xr-x 30 www-data www-data 4096 giu 28  2021 modules
-rwxr-xr-x  1 www-data www-data  772 giu 28  2021 ready.php
drwxrwxr-x  9 www-data www-data 4096 set 29  2021 templates

I also ran these commands to apply the proper permissions but the problem remains. 

find /var/www/html -type f -print0 | xargs -0 chmod -v 755

find /var/www/html -type f -print0 | xargs -0 chmod -v 664

What could be the problem if not authorizing folders?


 

 

Link to comment
Share on other sites

Hi @Vincenzo

If the folder permission without the execution bit then the affected user cannot enter the folder. Yes. You need to make the /var/www/html folder with the execution bit for user www-data.

Quote

The execute bit (x) allows the affected user to enter the directory, and access files and directories inside

Gideon

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...