HHVM forces umask to 0 in daemon mode, leads to file/folder creation with unsafe permissions
Open
- Dominant language
- C++
- Stars
- 18.7k
- Forks
- 3.1k
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
Folders are created with 777 instead of 755.
hhvm 3.9.0 on Debian 8.
"systemctl show hhvm" shows UMask=022
This doesn't happen when I run hhvm from commandline, only when it is running in FastCGI Mode with nginx.
Connecting with gdb and setting the umask to 022 for the hhvm process seems to "fix it" - but this is not a solution.
Contributor guide
Assessment
This issue has not been assessed yet.