OS:
- CentOS 7.1
Applications:
- NginX: 1.14.0
- PHP-FPM: 7.1.17
I have a webserver that has NginX and PHP-FPM running. Both applications are running by the user nginx
. However, when my Laravel application start logging in it's own directory the files are created as my own username:nginx
.
On a sidenote, the log folder has permissions as drwsrwsrwx 2 nginx nginx
and the files under it are being created as -rw-r--r-- 1 username nginx
. How and why? I though that the sicky bit will keep the user and the permission to the newly created files as well. Am I forced to use ACLs? I wish I wasn't.