Tuesday, June 27, 2017{ Blog} Login
Blog
  

Wordpress Default Permissions and Ownership

Posted by: Michael Yereniuk on 9/5/2013

Had an issue after upgrading to Wordpress 3.6 that any uploads to the server required FTP credentials to work.

This ended up being a permissions issue.

I issued the following commands from a console window wihin the httpdocs folder. (Recommended Permissions Credit

This replaces all files with permission 644 (owner RW, Group R, Other R)

find . -type f -print -exec chmod 644 {} \;

This replaces all directories (folders) with permission 755 (owner RWE, Group RE, Other RE)

find . -type d -print -exec chmod 755 {} \;

This changes file and folder ownership to the correct user and group. This server uses Plesk (so the group name is psacln) - your server may be different.

chown -hR friends:psacln ./*

After this was completed, the uploads worked normally. I fully expect future updates to the Wordpress core to auto-update properly as well.

 

Create a trackback from your own site.

0 Comments

Leave A Comment



CAPTCHA image
Please enter the CAPTCHA phrase above.



Recent Comments
  
No Recent Comments Were Found

Contact Us

Chickenlip Consulting Corp.
is now running a virtual office!

T: 780-456-6625

info@chickenlip.com
www.chickenlip.com