• Is there another way of using wp-layout.css without making it world writable (chmod 666)? I don’t want other (shell) users of the server to access the file, but without it being world writable my site doesn’t appear in the browser properly. Any suggestions how I can overcome this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Elberto,
    You’ve got something goofy going on because there is no need to make wp-layout.css, or, indeed, any CSS file 666.
    What browser are you using when this happens? What version of WP are you using? How about a link to your site so we can have a look ourselves?

    A file needs to be writable by WordPress to be able to edit it through the web interface. If you don’t want to edit it through the web interface you shouldn’t need to touch the permissions. If you do want to edit through the web interface then the permission depends on how your host is set up. In most cases the file will need to be world writable.

    Yeah, you’re right about the writable thing for using the built-in template editor for WP.
    Personally, I never use that editor, so I never gave it any thought. Good catch!

    To edit thru the WP interface the files have to be writeable by the webserver process. That’ll usually be “apache” or “www” or some such. Since you’re not in the servers group or vice verse, the files have to be world writable.
    The other option would be to change the file’s group to the webserver’s group. Then change the file’s permission to be group writable.
    Then it should work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-layout.css chmod 666?’ is closed to new replies.