Title: Filesystem issue
Last modified: October 31, 2024

---

# Filesystem issue

 *  Resolved [Eduardo Pittol](https://wordpress.org/support/users/edpittol/)
 * (@edpittol)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/filesystem-issue/)
 * I could see many tickets relating errors caused by file system initialization
   error:
    - [https://wordpress.org/support/topic/latest-update-causing-cli-fatal-error/](https://wordpress.org/support/topic/latest-update-causing-cli-fatal-error/)
    - [https://wordpress.org/support/topic/critical-error-activating-spectra/](https://wordpress.org/support/topic/critical-error-activating-spectra/)
    - [https://wordpress.org/support/topic/spectra-uag-clash-with-woocommerce-9-2-2/](https://wordpress.org/support/topic/spectra-uag-clash-with-woocommerce-9-2-2/)
    - [https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-ftp_fget/](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-ftp_fget/)
 * The natural solution is to force to `direct` method, as [mentioned in this replay](https://wordpress.org/support/topic/critical-error-activating-spectra/#post-16935308).
 * I am a hosting provider and we use the `SSH2` method to create a security layer
   for interacting with the WordPress file system. It does not allow PHP-FPM user
   to write to write to directories other than the uploads directory.
 * This plugin does not support this approach.
 * In my opinion, writing to the uploads directory should not to use the global `
   wp_filesystem` object. The WordPress core does not use. The `wp_upload_bits` 
   function is an example. Writing outside of the uploads should have the same experience
   as, for example, installing a plugin. When the FTP credentials is asked when 
   it not set by constants.
 * I could not use any hook to swerve this behavior and respect the security settings
   applied to our WordPress installations.
    -  This topic was modified 1 year, 7 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: removed nsfw

Viewing 1 replies (of 1 total)

 *  [Mohsin Ghouri](https://wordpress.org/support/users/mohsinbsf/)
 * (@mohsinbsf)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/filesystem-issue/#post-18112254)
 * Hi [@edpittol](https://wordpress.org/support/users/edpittol/),
 * Thanks for getting in touch with us.
 * I will share the information to the dev team so that we can improve this scenario
   in future. We are always keen to listen to our customers and to receive their
   feedback. This is the best way to improve our products and services and maintain
   our client’s satisfaction. 🙂
 * Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘Filesystem issue’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Gutenberg Blocks – Website Builder for the Block Editor](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

## Tags

 * [filesystem](https://wordpress.org/support/topic-tag/filesystem/)
 * [improvement](https://wordpress.org/support/topic-tag/improvement/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mohsin Ghouri](https://wordpress.org/support/users/mohsinbsf/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/filesystem-issue/#post-18112254)
 * Status: resolved