News for hackers. Stuff that matters.
Re:Moving from Go to PHP Again by gdfasfklshg4 on Friday February 08, 2019 @10:07AM (#19114829)
This is sort of a how to not do things:

1. chown -R apache:apache . # Now the webserver will have write access over the whole application!

2. chmod -R u=rwx,g=rwx,o=rx app/cache # Now all files in cache are executable and writable by the webserver!

3. apachectl restart # graceful might be better here.

Securitywise 1 and 2 are not good things to do.

There are no comments on this comment yet.