But FTP/SFTP shouldn't/doesn't have any permissions to the directory
with application.
Permissions are ok I've successfully scp-ed those files after starting
this thread (same user as in deploy, same files).
It's just a matter of laziness/'remembering paths' - thats why I'd
rather use cap deploy:upload instead of scp :)

On Nov 18, 5:20 pm, Donovan Bray <[email protected]> wrote:
> Sometimes error messages do actually point to the root problem.
>
> The first thing I would check is file permissions of that file on the remote 
> host and compare it to the deploy user.
>
> If its a permission problem switching to scp will result in the same error.
>
> On Nov 18, 2011, at 2:06 AM, Kaczor <[email protected]> wrote:
>
>
>
>
>
>
>
> > I was using
> > cap deploy:upload FILES=some_file
> > many times. It always worked without any trouble, but today I got:
>
> > upload via sftp failed on blubase.bluetrace.eu:
> > Net::SFTP::StatusException (Net::SFTP::StatusException open /srv/
> > www/.... (3, "permission denied"))
>
> > Has something changed in this upload method recently?
> > It always used scp and just 'worked'. Can I set it in deploy.rb to use
> > scp by default? I've found :via parameter but how can I use it in
> > commandline (and it would be beter just to set it in deploy.rb and
> > forget)? I never used and don't want to use/set up sftp.
>
> > --
> > * You received this message because you are subscribed to the Google Groups 
> > "Capistrano" group.
> > * To post to this group, send email to [email protected]
> > * To unsubscribe from this group, send email to 
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/capistrano?hl=en

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to