Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Mark's Profile

GitHub User: themonkey40

Comments by Mark

Avatar

Anyone else having a problem when running cap deploy:setup and getting a chmod error :

failed: "sh -c 'chmod g+w /home/deployer/apps/blog /home/deployer/apps/blog/releases /home/deployer/apps/memDownDash/shared /home/deployer/apps/blog/shared/system /home/deployer/apps/blog/shared/log /home/deployer/apps/blog/shared/pids'" on 192.168.119.131

chmod:
"changing permissions of `/home/deployer/apps/blog/releases'
** [out :: 192.168.119.131] : Operation not permitted"

chmod:** [out :: 192.168.119.131] changing permissions of `/home/deployer/apps/blog'
** [out :: 192.168.119.131] : Operation not permitted

chmod:
** [out :: 192.168.119.131] changing permissions of `/home/deployer/apps/xxx/shared'
** [out :: 192.168.119.131] : Operation not permitted

chmod:
** [out :: 192.168.119.131] changing permissions of `/home/deployer/apps/blog/shared/system'
** [out :: 192.168.119.131] : Operation not permitted

chmod: changing permissions of `/home/deployer/apps/blog/shared/log': Operation not permitted

chmod: changing permissions of `/home/deployer/apps/blog/shared/pids': Operation not permitted

I setup a user in the admin group, and have "set :use_sudo, false"