Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Wordpress permissions issue

Having a problem with what seems to be a Wordpress permission. Did a fresh download from workpress.org but I am unable to download a plugin or anything that needs to create a directory. I've seen conflicting answers to this. And I never had this happen on my local before. Any insight?

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

I haven't encountered this before personally, but there are a number of articles about this. Try this one: http://www.barrykooij.com/unable-to-install-plugins-on-localhost/ and if that doesn't work I'd try Googling the problem, there are some Stack Overflow suggestions as well.

Hi Zac, thanks for the quick reply. The underlying solution seems to be changing the permissions of the wp-content file setting permissions to 7-7-7. Now this is not the greatest for security. But right now I'm just developing. Will the permissions be the same when I migrate to a live site?

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

You should be able to have slightly more secure settings on the live server. If it doesn't work with the default recommended settings you may have to experiment until you find the right solution. I have come across hosts that require 777, which as you point out, is not ideal.