Help - Search - Members - Calendar
Full Version: can't upload images in wordpress 2.0
A Small Orange Forums > User-To-User Support > Getting Started
birv2
I've looked for the answer on the Wordpress forums. I'm wondering about one reply someone gave:
.....................................
Check that you have rights to write to the uploads folder... It is the account that the web server is running under that does the writing, so just giving your account or owner permissions to write may not be enough (depending on how your server is set up)...
Try giving everyone write permissions to start with and go from there...
........................................

Would that have anything to do with it? The error I get is that WP is "unable to create directory wp-content/uploads. Is its parent directory writable by the server?"

Permissions for wp-content folder are 755. I'm using FF 1.5 and XP.

TIA,
Bob
bushboy
Hi Bob,
chmod wp-content and uploads to 777. You might also want to check this image upload hack. It's a re-write of the /wp-admin/inline-uploading.php file.
samh
I'm having the same problem. Changing the folder to 777 works, but seem like a poor solution in security terms, especially in light of this thread, which has a lot of mentions of wordpress and 777 directories.
huw
QUOTE(samh @ Feb 20 2006, 1:01 PM) [snapback]42701[/snapback]
I'm having the same problem. Changing the folder to 777 works, but seem like a poor solution in security terms, especially in light of this thread, which has a lot of mentions of wordpress and 777 directories.


This article explains why chmod 777 is not a security risk
birv2
Thanks for the replies. I chmodded the folder to 777 and was able to successfully upload the picture. Or at least, I didn't get any error messages.

But the picture still doesn't show up!

Help!
NyteOwl
QUOTE
This article explains why chmod 777 is not a security risk


I guess that depends what you consider a security risk. If you mean can someone external to the server write to the file then no, but anyone on the same server can write/delete/modify said file. As a result if "John Doe User" three doors down on the server runs a script or some such that gets exploited and has their account broken into, then any directories or files on the same server that are chmod'd 777 are vulnerable. Even if no files are modified or deleted, the directory becomes a potential repository for further "malware".

One example ... http://forums.asmallorange.com/index.php?showtopic=5815



This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.