• Hi all – hope you’re doing well tonight.

    I’m having a crazy time with my file permissions. Basically I want wordpress to have secure access to whatever files it needs (the entirety of wp-content I assume).

    I’m on Rackspace Cloud servers and at the moment I’ve got wp-content owned by my own shell account, and group owned by a group i set up that has my shell account in and also www-data (apache).

    now is 644 sufficient to let wordpress have access to what it needs? i’ve tried every permutation but I really am struggling.

    is there a standard solution for setting up wp-content?

    at the moment i’m tearing my hair out so much, what about making wp-content owned by www-data and set as 700?

    many thanks to anyone who can help me with my problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 644 is unlikely to be sufficient if you intend to upload images or files.

    You can try the normally recommended settings to start. 755 on directories, and 644 on files. At some point, ( usually your first media upload ) /wp-content may need to be temporarily writable for wordpress to created the “uploads” folder. Rule of thumb seems to be 755, 644, with anything less just that much better.

    [edit] the commands for setting permissions recursively are in that link too, if you need them.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘file permissions driving me crazy’ is closed to new replies.