Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Apr 18, 2011
1 parent 1c275c6 commit e68f2fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions set-capistrano-permissions
Expand Up @@ -97,6 +97,8 @@ end
def start
options = parse_options
if options[:for_app_dir]
sh "setfacl -m user:#{WWW_USER}:--x #{CAPISTRANO_DIR}"
sh "setfacl -d -m user:#{WWW_USER}:r-x #{CAPISTRANO_DIR}"
set_permissions_on_app_dir(options[:for_app_dir])
else
sh "chmod -R g+w,o-rwx #{CAPISTRANO_DIR}"
Expand Down

0 comments on commit e68f2fa

Please sign in to comment.