Forums

WP Super Cache
Annoyance: inaccurate error mesage "wp-content is writeable" (3 posts)

  1. rayfusci
    Member
    Posted 1 year ago #

    WP Super Cache V 0.9.9.8

    Thank you for this software.

    This is an annoyance, not a problem in the software, so fixing it is of lower priority than real bugs.

    I get the message:
    Warning! /path/wordpress/wp-content is writeable!

    and you recommend I change permissions to 755 to make it more restrictive.

    The annoyance is that the existing permissions on that path are 705, which are already more restrictive than 755 (and indeed, if I relax the permissions to 755, the error message goes away).

    Please modify your check to recognize some protections are *more* restrictive and shouldn't generate that error message.

  2. rayfusci
    Member
    Posted 1 year ago #

    Here's a suggestion for a patch so it will only check the write permissions.

    In wp-cache.php replace the line that reads:
    if( $wp_content_mode != 0755 ) {

    with
    if( ( $wp_content_mode | 0055 ) != 0755 ) {

  3. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Thanks for the patch. I'll look at that. I may just remove the warning altogether.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic