Skip to content

Commit

Permalink
Merge pull request #205 from AlexeyFrolov/patch-1
Browse files Browse the repository at this point in the history
set_permissions: fix for acl method
  • Loading branch information
willdurand committed Aug 24, 2012
2 parents 4778e6f + f803484 commit 68563f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/symfony2/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"chmod +a \"#{user} allow delete,write,append,file_inherit,directory_inherit\" %s",
"chmod +a \"#{webserver_user} allow delete,write,append,file_inherit,directory_inherit\" %s"
],
:acl => ["setfacl -dR -m u:#{user}:rwx -m u:#{webserver_user}:rwx %s"],
:acl => [
"setfacl -R -m u:#{user}:rwx -m u:#{webserver_user}:rwx %s",
"setfacl -dR -m u:#{user}:rwx -m u:#{webserver_user}:rwx %s"
],
:chown => ["chown #{webserver_user} %s"]
}

Expand Down

0 comments on commit 68563f5

Please sign in to comment.