Failure on symlink?

I’m deploying as root and for some reason I’m getting a failure in the
symlink part of the task. I have zero custom recipes. All that’s changed
in the deploy.rb is the server name and svn repo.

Any thoughts about why this might be failing?

Thanks

  • executing task set_permissions
  • executing “chmod -R g+w
    /var/www/rails/greatwhite/releases/20070215170750”
    servers: [“hammerhead.com”]
    [hammerhead.com] executing command
    command finished
  • executing “rm -rf
    /var/www/rails/greatwhite/releases/20070215170750/log
    /var/www/rails/greatwhite/releases/20070215170750/public/system &&\n
    ln -nfs /var/www/rails/greatwhite/shared/log
    /var/www/rails/greatwhite/releases/20070215170750/log &&\n ln -nfs
    /var/www/rails/greatwhite/shared/system
    /var/www/rails/greatwhite/releases/20070215170750/public/system”
    servers: [“hammerhead.com”]
    [hammerhead.com] executing command
    ** [out :: hammerhead.com] ln:
    ** [out :: hammerhead.com] creating symbolic link
    /var/www/rails/greatwhite/releases/20070215170750/public/system' to /var/www/rails/greatwhite/shared/system’
    ** [out :: hammerhead.com] : No such file or directory
    command finished
    *** [set_permissions] transaction: rollback

When you create the symlink, use the full path from the root.

On Feb 15, 10:12 am, “s.ross” [email protected]