Title: Error message
Last modified: December 29, 2023

---

# Error message

 *  Resolved [itonic](https://wordpress.org/support/users/itonic/)
 * (@itonic)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/)
 * Hello,
   I just tried Shield Security for the first time.When I activate the plugin,
   the following error message appears on the WP-backend-main screen: Warning: is_dir():
   open_basedir restriction in effect. File(/tmp) is not within the allowed path(
   s): (/home/.sites/47/site4954845/web:/home/.sites/47/site4954845/tmp:/usr/share/
   pear:/usr/bin/php_safemode) in /home/.sites/47/site4954845/web/wp-content/plugins/
   wp-simple-firewall/src/lib/vendor/fernleafsystems/wordpress-services/src/Core/
   Fs.php on line 466The site seems to be functioning normally.Thanks
    -  This topic was modified 2 years, 5 months ago by [itonic](https://wordpress.org/support/users/itonic/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Jelena](https://wordpress.org/support/users/jmisic/)
 * (@jmisic)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/#post-17307771)
 * Hi,
 * Thanks for using Shield Security. 🙂
 * Regarding this error, this is the temporary directory as it’s used by the plugin&
   theme scanner and various other purposes in the plugin. Shield tries to find 
   a temporary directory to use to write some temporary data.
   /tmp is a last resort
   and if you’re getting errors about this it means Shield can’t write to anywhere
   in your wp-content directory.
 * If you don’t want these errors, please make sure WordPress can write to either/
   wp-content/shield/ or /wp-content/uploads/ or /wp-content/cache.
 * As you can imagine, ensuring that creating temporary directories for every type
   of web host works can be tricky. While /wp-content/tmp/ might exist on your server,
   it may not exist elsewhere. It appears your filesystem permissions are setup 
   such that creating our own /wp-content/shield/ directory fails, and so you’re
   getting these errors.
 * It would be good if you could set the filesystem permissions on that directory
   to allow WordPress to read/write to it because completely restricting disk-write
   entirely will prevent Shield functionality. Best is to chat with your host about
   your options. It’s very common for WordPress plugins to use temporary directories,
   so your webhost will need to provide the ability to do that.
 * Hope this helps.
 *  Thread Starter [itonic](https://wordpress.org/support/users/itonic/)
 * (@itonic)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/#post-17307785)
 * [@jmisic](https://wordpress.org/support/users/jmisic/)
   Hi Jelena,thanks for the
   extensive explanation. I will make sure to set the permissions accordingly.Best
   regards!
 *  Plugin Support [Jelena](https://wordpress.org/support/users/jmisic/)
 * (@jmisic)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/#post-17308117)
 * No problem, happy to help.
 * Cheers!
 *  Thread Starter [itonic](https://wordpress.org/support/users/itonic/)
 * (@itonic)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/#post-17315116)
 * Hello again Jelena,
   what CHMOD settings does the /shield folder need?Owner already
   had all permissions. I tried writing-permission for group also.Didn’t work.Also
   creating a tmp-folder did nothing.Thanks
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/#post-17315333)
 * We’re honestly not sure what the permission ought to be for your particular hosting.
   One thing you could try is whether you can create folders/files through WordPress
   using a tool like this:
 * [https://wordpress.org/plugins/wp-file-manager/](https://wordpress.org/plugins/wp-file-manager/)
 * You won’t need to create the /shield folder itself, just ensure that the wp-content
   dir is writeable. Shield will try to create a temp dir in the following locations:
    - wp-content
    - wp-content/cache
    - wp-content/tmp
    - wp-content/uploads
    - /tmp
 * If you can create any of those and ensure WordPress can create directories/files
   inside them, it should work…
 *  Thread Starter [itonic](https://wordpress.org/support/users/itonic/)
 * (@itonic)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/#post-17315914)
 * Hi Paul, thanks for replying!
   I can create folders with the WP-File-manager plugin.
   I set the wp-content folders to writeable even by “group”. Created a tmp-folder
   within wp-content via the plugin….could also create txt-files within.Deactivated
   and activated Shield Security…still the same error.Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error message’ is closed to new replies.

 * ![](https://ps.w.org/wp-simple-firewall/assets/icon-256x256.png?rev=3054572)
 * [Shield Security – Smart Bot Blocking, Brute-Force Login Protection & File Scanning](https://wordpress.org/plugins/wp-simple-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-simple-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-simple-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-simple-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-simple-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-simple-firewall/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [itonic](https://wordpress.org/support/users/itonic/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/error-message-1014/#post-17315914)
 * Status: resolved