3.0 on linux localhost file permissions
-
I’m running 3.0 on my linux localhost with Xampp, just for funsies. When I go to the admin panel > Media > Add new and try to upload a picture, I get the following error message:
“littledaniel.jpg” has failed to upload due to an error
Unable to create directory /opt/lampp/htdocs/wordpress/wp-content/uploads/2010/06. Is its parent directory writable by the server?So I think I need to change some permissions, right? Would I do that with chmod?
-
Or should I do it with chown?
chmod
http://codex.ww.wp.xz.cn/Changing_File_Permissions
has some info on file permissi8onsExcellent! Thank you. I am now able to upload media to my testing website. Now, I have run into another snag. While I’m trying to install plugins, I get the message:
To perform the requested action, connection information is required.
It asks me for Hostname, Username and Password, and has two options for Connection Type: FTP and FTPS (SSL). I’m pretty sure the Hostname is localhost because if I type anything else, I get an error message that says:
Failed to connect to FTP Server localhost/wordpress:21
But if I use localhost as the Hostname, it just says my username/password are incorrect. So what username and password is it looking for? I tried the MySQL username and password. I tried the admin username and password, but it just keeps saying I have the wrong username/password. Any ideas?
RVoodoo, you are awesome. This took care of it perfectly. Thank you again 🙂
You got it!! Glad we got that taken care of!
The topic ‘3.0 on linux localhost file permissions’ is closed to new replies.