Keeping file system with secure permissions has been always a critical task when it comes to administer a webserver. Not every time files uploaded via the webserver are saved with the correct permissions. Running a cron job to fix them could be a solution but how to deal with the case when an attacker can very quick exploit files wrong set permissions?