Friday, November 1, 2019

linux - Why 777 cause problem but 644 was fine

I have a VPS, for some reason php can only exec when permission is 644.



If I changed the php file to 777 or 755, it would throw me an Error 500 internal server error.



I thought 777 give everybody greatest permission, what makes a web server behave like that?



Thank you for your time.

No comments:

Post a Comment