Hi,

I know it must be a permissions problem, but I can't find it ...

I'm login with one user, this user can issue sudo commands, login with  
ssh, but it's not root.

If I change the user from the deploy.rb with the 'root' user,  
everything is ok.

If I log with ssh with the 'user', and send a sudo mkdir -p /u/apps/ 
scanner all is ok

What can be the problem ?

The destination computer is Debian Lenny

Here is the output from Terminal:

MontxMacBookPro:scanner montx$ cap deploy:setup
   * executing `deploy:setup'
   * executing "sudo -p 'sudo password: ' mkdir -p /u/apps/scanner /u/ 
apps/scanner/releases /u/apps/scanner/shared /u/apps/scanner/shared/ 
system /u/apps/scanner/shared/log /u/apps/scanner/shared/pids && sudo - 
p 'sudo password: ' chmod g+w /u/apps/scanner /u/apps/scanner/ 
releases /u/apps/scanner/shared /u/apps/scanner/shared/system /u/apps/ 
scanner/shared/log /u/apps/scanner/shared/pids"
     servers: ["192.168.2.191"]
Password:
     [192.168.2.191] executing command
*** [err :: 192.168.2.191]
*** [err :: 192.168.2.191] We trust you have received the usual  
lecture from the local System
*** [err :: 192.168.2.191] Administrator. It usually boils down to  
these three things:
*** [err :: 192.168.2.191]
*** [err :: 192.168.2.191] #1) Respect the privacy of others.
*** [err :: 192.168.2.191] #2) Think before you type.
*** [err :: 192.168.2.191] #3) With great power comes great  
responsibility.
*** [err :: 192.168.2.191]
*** [err :: 192.168.2.191]
     command finished

thanks,

r.


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to