On Thu, Aug 6, 2009 at 4:02 AM, Q<[email protected]> wrote:
>
> I am following the information provided on this page.
>
> http://spattendesign.com/projects/synching-your-amazon-s3-asset-host-using-capistrano
>
> everything works just fine except in the very end of the script i get
> sh: ./s3sync.rb: Permission denied
> command finished
>
> It has been suggested that I change permissions on this file and see
> if it works?
>
> I am wondering how I can add this change permission in the deploy
> script? Since with each new deploy the file is copied and I have no
> way to touch it before the script fails...
>
Just try the good old

run "chmod 755 #{release_path}/s3sync.rb" before you use the script
for the first time. If you don't know when that might be, try putting
it into a task an do
after "deploy:update_code", "set_s3sync_permissions"

Cheers, Mathias
-- 
http://paperplanes.de
http://twitter.com/roidrage

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to