#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    0

    Wordpress & Git Permissions Issues, need help...


    Heya,
    So I recently upgraded my MacBook to a solid state drive, during the re-install of Snow Leopard I chose to abandon MAMP and use the built in Apache & PHP and in doing so moved my ~/Sites to /Library/WebServer/Documents from a Time Machine backup. During this transition the permissions were changed (I expected that but didn't change them directly).
    All of the sudden Wordpress couldn't write to various places such as .htaccess, wp-content/uploads, wp-content/plugins, etc... So I changed the user and group to _www:_www correcting that issue, but then Git couldn't write to it's own directory.

    At this point my permissions are spencerhill:staff 755 for folders and 644 for all files. And I'm completely confused as to how to untangle everything so it's set it the appropriate default user, group and symbolic privileges preventing me from doing any work. Please help!

    Thank you!
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    I recommend adding yourself to the _www group and then changing the permissions on folders/files to 775/664 respectively. (Assuming you're running GIT under your own account).
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    0

    Thanks for the reply!


    Thanks for the reply!

    According to this article - wordpress.org/hardening_wordpress (which I read after I posted this thread) I'm never suppose to run Wordpress as the server (in this case _www) though.

    Thoughts?

IMN logo majestic logo threadwatch logo seochat tools logo