Permissions errors for temporary files
-
Hello, this is a follow-up to the question asked here:
https://www.ads-software.com/support/topic/dispalying-error-after-last-update-to-1-11-3/
The permissions errors are a result of the plugin trying to write temporary data to both,
wp-content/plugins/form-maker/js/frontend
and
wp-content/plugins/form-maker/css/frontend
The plugin should not be doing that.
The suggested fix is to make those directories
chmod 777
, which creates a huge security vulnerability and allows every user on the machine to hijack your website. Neither of those directories should be writable by the website user, and especially not writable by everyone!If the plugin needs to cache temporary data, then there is a location that is guaranteed to be writable and designated for exactly that purpose: the system’s temporary directory (https://php.net/manual/en/function.sys-get-temp-dir.php).
- The topic ‘Permissions errors for temporary files’ is closed to new replies.