Open davemac opened 10 years ago
Why is /tmp
not writable?
I am connecting to the site as a user of one of the sites on the VPS, so ~/tmp is writeable as that's in my home folder. However /tmp is not writeable as thats in the root user's folder.
I have the same issue. /tmp is writable, but won't allow application execution. Hosting guys claim it's for "security". Definitely need to have a way to specify something other than /tmp.
Fixed this issue in #28 Added an option called tmp_directory. It will fall back on /tmp when not specified. https://github.com/xwp/wp-cli-ssh/blob/master/wp-cli.sample.yml#L19
Starting a new ticket from Issue #13 .
Documentation says:
However, I have a VPS (not Vagrant), with several sites on it. When I run the wp-ssh command and connect to one of those sites, I get
So I can see it's looking in the root /tmp folder for
wp-cli.phar
when it should be looking in the home folder for my current site ie/tmp/wp-cli.phar
and downloading the file to there if needed.Is there a way to control which folder
wp-cli.phar
is downloaded to?Or should I just upload it to
/tmp/
and be done with it (assuming this would work for all sites on a VPS) ?