WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] CHMOD 550 on Twentyeleven folder

[Resolved] CHMOD 550 on Twentyeleven folder

  • gostabohman
    Member

    @gostabohman

    I accidently put in a few “<“-character in function.php in the Twentyeleven folder with the WP theme editor (pasted in some code from a tutorial) and managed to save it, but now the whole site crashed due to the “unexpected ‘<‘ in function.php”, including the dashboard.

    Thing is, all I need to do really is use FileZilla to open and edit the file to remove the bastardous characters and then be moisying along again. But I can’t… Because the folder permissions is set to 755 and the function.php is set to 644 and I only get a “550 operation not permitted” when i try to chmod them. That folder – and all the files in it – is the only thing on my whole serverspace that won’t let it self be changed.

    Why is that? What made it that way? And what do I do to fix it? Isn’t it a bit strange that it would be updated through the WP editor? That makes me think it’s an ownership issue, which I wouldn’t know how to deal with either… :S In either case…

    HELP! =/

Viewing 8 replies - 1 through 8 (of 8 total)
  • peredur
    Participant

    @peredur

    Download the file to your local machine, change it and then upload it back?

    Using your favourite FTP client…

    HTH

    PAE

    gostabohman
    Member

    @gostabohman

    Peredur> Thanks for your reply! That didn’t work either though. I wasn’t allowed to overwrite or remove any files in that folder.

    What DID work however 🙂 was to rename the twentyeleven folder. Don’t ask me why that was possible. Anyway, that let me get into the dashboard so i could edit the file. It’s now all good and well.

    But the permissions are still not changable, would be nice to be able to do that for future events. Do I need to contact my host?

    /GB

    peredur
    Participant

    @peredur

    You would need to talk to the server administrator about changing the permissions. It’s not a WP thing. Not as far as I can imagine, anyway.

    Cheers

    PAE

    peredur
    Participant

    @peredur

    Just as an aside, the permissions may have been set up like that to try to protect the default theme. You should not alter a default theme directly as your changes may be overwritten by an update to WP.

    The only recommended way of modifying themes (any themes, but especially the defaults) is via a child theme.

    Cheers

    PAE

    gostabohman
    Member

    @gostabohman

    Guess so. Thanks! I’ll return with a post on how this resolved after speaking with the admin…

    /GB

    gostabohman
    Member

    @gostabohman

    ok! well that makes sense! I’ll read up that child theme thing then.

    Thanks again! 😀

    /GB

    peredur
    Participant

    @peredur

    gostabohman
    Member

    @gostabohman

    Excellent!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] CHMOD 550 on Twentyeleven folder’ is closed to new replies.