WordPress.org

Ready to get started?Download WordPress

Forums

Permissions set to 644 but writable! (2 posts)

  1. Babak
    Member
    Posted 6 years ago #

    ok this is very strange... my WP theme files - example footer.php are set to 644 on chmod/permissions but inside wordpress>presentation>theme editor, I see the button for updating/editing the file!

    that shouldn't be there since it is set to 644 - not 666!

    WTF?

    I've experimented and changes to the file do get saved. I've gone in and changed it to 644 to make sure and yes, it is set to 644. But the theme file is editable!

    The theme folder itself is 755 - as it should be:

    http://codex.wordpress.org/Changing_File_Permissions

    what could possibly be going on?

    thanks for any help!

  2. rlparker
    Member
    Posted 6 years ago #

    It sounds to me as though your host may be running PHP-CGI under suexec ... which will mean the the PHP program (WordPress) is running as *your* user, so it *can* write to file that are set to "664"..

    --rlparker

Topic Closed

This topic has been closed to new replies.

About this Topic