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

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...