Skip to content

Instantly share code, notes, and snippets.

@bryanmtl
Created July 20, 2014 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanmtl/e816cf2600e7b91d3c11 to your computer and use it in GitHub Desktop.
Save bryanmtl/e816cf2600e7b91d3c11 to your computer and use it in GitHub Desktop.
Ruby Inline - Permission Problems
staging:
before_rails:
- source: /.cloud66/files/ruby_inline.sh
destination: /tmp/ruby_inline.sh
target: rails
halt_on_error: false
execute: true
run_on: all_servers
apply_during: all
sudo: true
#!/bin/bash
#load environment variables
source /var/.cloud66_env
#assign desired permissions
sudo chmod 775 -R /home/ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment