• Resolved pruno

    (@pruno)


    I only get one error after updating from version 1.6.0 to 1.6.1

    Error: The directory containing the configuration file /var/www/web/htdocs/public/wp-content/wp-cache-config.php is read only. Please make sure it is writeable by the webserver.

    The permissions for wp-cache-config.php are ok and did not change during the update.

    Everything worked fine before the update.

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

    (@som68)

    I have the same mistake. I had to roll back to 1.6.0

    Thread Starter pruno

    (@pruno)

    I looked at the changes. The problem was the function sys_get_temp_dir. The return value is a directory that was not specified in my open_basedir configuration. I have now created a value for php_admin_value[sys_temp_dir] = /path/to/tmp in my php-config and that works. Entering the directory in open_basedir would also be an option.

    Don’t panic! 🙂

    Oleh

    (@som68)

    I do not have access to php settings. Version 1.6.0 is working, and 1.6.1 is experiencing errors.

    carbeck

    (@carbeck)

    Same here, and seems to be a bug that’s managed to sneak back in: https://ww.wp.xz.cn/support/topic/wp-cache-config-php-file-permission/

    At least when I list the currently cached files, permissions for this file change to the user the server is running WordPress under (instead of ‘me’) with permissions 600. Should be 644 at least.

    This is especially annoying to me because using TAR to make a backup of my files, TAR chokes on this file since it’s not readable to the regular user.

    • This reply was modified 8 years ago by carbeck.
    bdelamatre

    (@bdelamatre)

    Why was this marked as resolved?

    Even if it can be worked around by re-configuring your host it seems unnecessary. This change breaks the plugin for any user that can’t write to the default /tmp directory and it manifests itself as unrelated errors in the system.

    https://ww.wp.xz.cn/support/topic/error-in-v1-6-1-in-shared-hosting-environments-open_basedir-restriction/

    The problem has been fixed. Can you try the development version at http://ocaoimh.ie/y/2o

    I’ll be releasing a new version next week.

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

The topic ‘Bad permissions?’ is closed to new replies.