Permissions and Ownership
Permissions are a security boundary. Explain every writable directory and avoid blanket chmod 777.
stat /path/to/file
chmod 640 /path/to/file
chown root:app /path/to/filePermissions are a security boundary. Explain every writable directory and avoid blanket chmod 777.
stat /path/to/file
chmod 640 /path/to/file
chown root:app /path/to/file