Title: Custom CSS cannot be saved
Last modified: August 1, 2021

---

# Custom CSS cannot be saved

 *  Resolved [zerog981](https://wordpress.org/support/users/zerog981/)
 * (@zerog981)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/)
 * Hi,
 * because of the restrictive permission setup of our server (www-data being mostly
   a read-only user), TablePress seems to be unable to write custom CSS settings.
   The following message is displayed:
 * `"Due to the configuration of your server, TablePress was not able to automatically
   save your "Custom CSS" to a file. To try again with the same method that you 
   use for updating plugins or themes, please fill out the "Connection Information"
   form below."`
 * Following [this](https://wordpress.org/support/topic/tablepress-was-not-able-to-automatically-save-your-custom-css-to-a-file/)
   discussion I already tried giving write permission (664) to user www-data for
   the following files located in /wp-content/:
 *     ```
       tablepress-combined.min.css
       tablepress-custom.css
       tablepress-custom.min.css
       ```
   
 * This did not have the desired effect. Are there any other files/folders TablePress
   needs to modify?
 * Thanks in advance,
    Chris

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/#post-14731780)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Essentially, TablePress uses WordPress’ “direct” filesystem access method. I’m
   not really sure about the details right now, but I believe that this means that
   the web server user must also be the own of the files, and that it’s not enough
   that they are writable for him.
 * Regards,
    Tobias
 *  Thread Starter [zerog981](https://wordpress.org/support/users/zerog981/)
 * (@zerog981)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/#post-14735842)
 * Hi Tobias,
 * thank you for your fast reply. Basically this means I have to talk to our admins.
   If there is a solution besides making the web server user file owner I’ll let
   you know.
 * And by the way, your plugin is really awesome, thank you for your hard work!
 * Chris
    -  This reply was modified 4 years, 10 months ago by [zerog981](https://wordpress.org/support/users/zerog981/).
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/#post-14737681)
 * Hi,
 * yes, that would be good in this case.
 * Note that all this is not too big of a problem. If the “Custom CSS” can’t be 
   saved to a CSS file, TablePress will simply load it directly into the page.
 * Regards,
    Tobias
 *  [kainwolf](https://wordpress.org/support/users/kainwolf/)
 * (@kainwolf)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/#post-14789791)
 * Hi,
 * Great plugin.
 * I’ve had this issue also, couldn’t update and here is what I’ve found:
 * Let’s say the directory wp-content/uploads is owned by www-data:www-data and 
   wordpress updates are done using the ftp/ssh user john (for example). Then, john
   must be a member of the www-data group, and the wp-content/uploads directory 
   must have 775 permissions.
 * The three tablepress css files are saved in wp-content/uploads with ownership
   john:john and 644 permissions. So any further changes must either be done by 
   ftp by the user john, or the ownership on the 3 files changed to, at least, the
   www-data group (and the group being given write permissions).
 * I hope this can be of help.
 * Best,
    Kain
 *  Thread Starter [zerog981](https://wordpress.org/support/users/zerog981/)
 * (@zerog981)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/#post-14790519)
 * Hi Kain,
 * thanks for your advice. In the meantime our admin fixed the whole WP setup and
   made some major changes. Unfortunately I cannot say in detail what he did, but
   it’s working now. Anyway, what you suggested might be useful somewhere else.
 * Chris
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/#post-14790863)
 * Hi,
 * Kain: Thanks for sharing this advice! Yes, something like this might be necessary
   in certain access rights setups on the server.
 * Chris: That’s great to hear! 🙂
 * Best wishes,
    Tobias

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

The topic ‘Custom CSS cannot be saved’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/custom-css-cannot-be-saved/#post-14790863)
 * Status: resolved