Don't put "false" in quotes. E.g.: set :use_sudo, false
When you quote it, it becomes a String instance. And since Ruby only interprets literal false and nil and being "not true", a String instance of "false" is interpreted to mean "is true". - Jamis On Jul 17, 2008, at 12:19 PM, Jared Nedzel wrote: > > Folks: > > I need to deploy my Rails application, but I do not have root access. > Nor do I have sudo privileges to root. The installation can be owned > by my user account. I do have ssh ability. I do write access to the > deployment directory. I've tried using the following in deploy.rb: > > set :user, "jnedzel" > set :use_sudo, "false" > > But it appears that capistrano is still trying to do things as root: > > *** [err :: node257] Sorry, user jnedzel is not allowed to execute > '/bin/mkdir -p /xchip/luminex_data_mgr/alpha > /xchip/luminex_data_mgr/alpha/releases > /xchip/luminex_data_mgr/alpha/shared > /xchip/luminex_data_mgr/alpha/shared/system > /xchip/luminex_data_mgr/alpha/shared/log > /xchip/luminex_data_mgr/alpha/shared/pids' as root on node257. > > Any suggestions? > > Thanks, > > Jared > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
