WordPress.org

Support

Support » Miscellaneous » Permissions set to 644 but writable!

Permissions set to 644 but writable!

  • 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!

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Permissions set to 644 but writable!’ is closed to new replies.