Results 1 to 3 of 3
Thread: failed permission in wordpress?
-
10-12-2007, 05:06 PM #1Web Hosting Master
- Join Date
- Jan 2007
- Posts
- 688
failed permission in wordpress?
I get this error when attempting to upload all-in-one-seo-pack.zip I'm using 0.2.1 version of PlugInstaller too.
http://wordpress.org/extend/plugins/pluginstaller/
I install wordpress manually and uploaded via ftp so permissions/chmod is correct. I am using php 4.4.7 / mysql 4.1x
Warning: move_uploaded_file(/home/user/public_html/wp-content/plugins/all-in-one-seo-pack.zip) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/user/public_html/wp-content/plugins/pluginstaller/install.php on line 14
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpqCgS7W' to '/home/user/public_html/wp-content/plugins/all-in-one-seo-pack.zip' in /home/user/public_html/wp-content/plugins/pluginstaller/install.php on line 14
An error has occured
A problem has occured while processing your upladed file!
Code:drwxrwxrwt 18 root root 64K Oct 12 16:06 tmp/
-
10-12-2007, 05:40 PM #2Web Hosting Guru
- Join Date
- Feb 2006
- Location
- Pakistan/India/USA
- Posts
- 322
Re:
Dear Calibaba,
Use following command and try again.
# chmod 1777 /tmp
Best Regards.Tom F - VCA-WM, VCA-Cloud, VCA-DCV, CISSO, CPTE, OSCP, RHCE, RHCT
Maxim Support - Hosting Solutions & Server Management
Email : tom@maximsupport.com
Web : http://www.maximsupport.com
-
10-12-2007, 05:55 PM #3
Actually, tmp is already a+rw, that wouldn't matter a bit.
Firstly, don't use a "plugin installer" to install plugins. Come on, wordpress plugins are drop and go, it takes all of 5 seconds.
If you have ssh:
Download, upload to wp_dir/wp_content/plugins, uncompress
If you DON'T have ssh:
Download, uncompress, upload to wp_dir/wp_content/plugins
Either way, you don't NEED a "plugin installer".
If you insist on using this, then you must understand that you are risking not only your data, but the data of everyone else on the server, by changing the permissions to what they need to be. You need to make wp_dir/wp_content/plugins world writable (a+rw) . This is a MAJOR security risk and should never, ever, ever be done when you can simply follow the above way of doing things and have it done easily enough.Tom Whiting, WHMCS Guru extraordinaire
Linux problems? WHMCS Problems? Give me a shout
Check out my WHMCS Addons