Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ksteele36

    (@ksteele36)

    See a SS here: CLICK HERE

    Thread Starter ksteele36

    (@ksteele36)

    Thanks for the reply dwinden…. I am quite familiar with file and directory permissions but this is not quite the same I am afraid. Somehow the site is producing a home page that has permissions of 750 rather than 755 and I do not know why. It is not a matter of logging into my server, locating a file and changing the permissions for that 1 file as this file (home page) is produced dynamically by wordpress (?) – it is the page I created and directed WordPress to make my primary landing page.

    See a SS of the warning here: CLICK HERE TO VIEW SS

    But 750 is the default setting for the public_html directory in cPanel… and 777 is default for www directory.

    Following permissions on cpanel server:

    user home directory 711

    public_html 750

    public_ftp 755

    mail 770

    tmp 755

    etc 750

    cgi-bin 755

    www 777
    ********************************************

    So, the dilemma is how to change the file permission for just the home page? My best guess is that this is a htaccess code snippet or maybe this is a iTheme Security module false positive as I am looking at several published sites now that are all cPanel sites and ALL have the same permissions for the www and public_html directories… so, I am assuming the same home page permissions. Hmmmmm… I think it may be time to call the host to figure this one out.

    Thread Starter ksteele36

    (@ksteele36)

    Also, this: The difference between 755 and 750 is that 755 gives everybody write permission for the directory, with 750 only the owner and group have write permissions.

    So, I cannot foresee this as a bad thing…. maybe this should be reviewed by iThemes Security and the flag warning removed from their scan results. ???

    Thread Starter ksteele36

    (@ksteele36)

    CORRECTION: 755 permissions is default for public_html

    @ksteele36

    The following PHP command is used by the iTSec plugin to determin the permissions of the WordPress root (/):

    echo substr( sprintf( '%o', fileperms( ABSPATH . '/' ) ), - 4 );

    dwinden

    Thread Starter ksteele36

    (@ksteele36)

    Thank you for that snippet dwinden. I will dig a little deeper for a solution here and more importantly the implications it might have. More than that I would be interested in hearing from other WordPress site owners and developers with regard to the permissions of their home page.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘750 permissions on index page’ is closed to new replies.