I have a fresh install of 2.7 RC 1 with a brand new database (no upgrades - clean test case). When I try to automatically upgrade a plugin (Askimet) I got the following error:
Warning: ftp_rawlist() [function.ftp-rawlist]: open_basedir restriction in effect. File(/home/mygpsc5/tmp) is not within the allowed path(s): (/home/username:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/username/public_html/webdir/blogdir/wp-admin/includes/class-wp-filesystem-ftpext.php on line 203
Warning: ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary file. Check permissions in temporary files directory. in /home/username/public_html/webdir/blogdir/wp-admin/includes/class-wp-filesystem-ftpext.php on line 203
Unable to locate WordPress Plugin directory.
Plugin upgrade Failed
I thought I found the fix here:
But that didn't work. The error is identical after the change - it still wants to write to /home/mygpsc5/tmp for some reason (I have no idea who owns that dir - I assume it belongs to whatever user runs PHP).
My theory is that ftp_rawlist is not using the get_temp_dir() function that checks for WP_TEMP_DIR to be set. Any idea how to fix this?