Skip to main content

All Questions

0 votes
1 answer
3k views

Set permission and ownership correctly, still getting "storage/logs/laravel.log" Permission denied

There are lots of Q&As for this problem: "storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied The solution, correctly, is to set the right permissions for ...
Pedram Behroozi's user avatar
0 votes
1 answer
270 views

Why has my existing Nginx failed to run after rebooting the system which says 13: Permission denied, although chmod 777?

My Nginx configured with docker. but when I reboot my system my existing nginx failed to run, I face the error message: [emerg] 1#1: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
Sayem's user avatar
  • 1
2 votes
1 answer
2k views

CentOS7, SELinux, Apache, PHP-FPM: Access denied for file_put_contents to a user dir

I have a CentOS7/Apache multi-user (userdir) setup with SELinux enabled and the following directory structure: /home/USER/public_html/resources/css The whole /home/USER directory and everything ...
user682180's user avatar
3 votes
1 answer
5k views

SELinux remove extended ACL

I have a set of files that can't have selinux's extended acl on them. When running ls -la I get a result similar to: -rwxr-xr-x. 1 root root 1 Aug 8 2014 filea -rwxr-xr-x. 1 root root 1 ...
Jess's user avatar
  • 469
2 votes
1 answer
3k views

php fopen permission problem

I'm learning php, and am having a problem while writing a file upload page. In the docroot, I have index.php (the page that calls fopen) and a directory called "images", where I wish the temporary ...
yati sagade's user avatar