Skip to content

Tag: permissions

Permission denied. Laravel linux server

when i try to register and send an email to the user i got this error. It was working till yesterday. From today it gives me this and i cant figure out why. By the way on local testing this work’s. I’m stuck. Help please Answer I cannot comment because I have joined stackoverflow recently and I do…

Permission Denied when trying to read file w/644 permission

I am trying to write a PHP script for a Web server (lighttpd) to read a file in another user. The Web server runs under user http: The file the script is trying to read has the following permissions: Which I thought meant that any user can read it. The fopen in the script results in a Permission denied: I

Apache & SFTP permissions on AWS EC2 Linux hosting

Using SSH I’ve granted access to my SFTP clients user “ec2-user” with the following command: sudo chown -R ec2-user /var/www/html However I also need to grant access to Apache which I can do with the following command: sudo chown -R apache:apache /var/www/html I assumed this would grant acce…