I'm blogging about Emacs, Drupal, php and exciting subjects

· Lars Nielsen

Docker .env Permission Denied: Mode 0600 Broke New PHP Processes and Left Old Ones Running Open

Tightening a file's permissions is supposed to be the safe direction. In July, on my search engine's frontend server, setting the application's .env file to mode 0600 instead did two things at once: it broke every newly started PHP process, and it left the admin area answering without a password for a few minutes. A smoke test after the deploy caught it.

Read article Docker .env Permission Denied: Mode 0600 Broke New PHP Processes and Left Old Ones Running Open
Subscribe to Linkhub