welaika/wordmove — Issue #5: Permission denied
Author: jch
Created: 2012-01-04 07:04:50+00:00
State: open

I'm getting a permission denied when trying to run `wordmove pull`. Here's the relevant stacktrace:

```
/Users/jch/.rvm/gems/ruby-1.9.2-p290/gems/net-scp-1.0.4/lib/net/scp/download.rb:103:in `parse_directive': unknown directive: "\x01scp: /var/www/rockyroadblog.com/wp-content/database_dump.sql: Permission denied\n" (ArgumentError)
from /Users/jch/.rvm/gems/ruby-1.9.2-p290/gems/net-scp-1.0.4/lib/net/scp/download.rb:38:in `read_directive_state'
```

I haven't looked into it very deeply, but my guess is that the directory it's trying to download into is owned by root and can't be written into by my user. Is it possible to run remote commands with sudo?