Hi, I am logging in with a user who is part of the admin group, and I set the user up so they don't have to enter the password when in sudo mode.
If I login to the server using ssh I am able to create a director like: /u/apps When I run cap, I get this error: >>bundle exec cap production deploy:check mkdir: cannot create directory ‘/u/apps’ : Permission denied My deploy_to is: set :deploy_to, '/u/apps/blogtest' I tried adding this also but it didn't help: set :use_sudo, true set :user, 'ubuntu' Any ideas? Versions: - Ruby 2.1.2p95 - Capistrano 3.1.0 - Rake 10.1.0 Platform: - osx 10.9.3 - ubuntu 14.04 Logs: - Please past logs (as completely as possible to a 3rd party pasting service such as pastie.org) Files: - Capfile - deploy.rb - Stage files (production.rb, staging.rb) -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/a6c5303f-0e00-47ea-aa69-e44c55a2072a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.