Permalink
Browse files

Merge pull request #12048 from tjouan/app_generator-bin_perms-umask

Comply with current umask when generating new app
  • Loading branch information...
2 parents 974335d + 1cb5094 commit 169c2141fc4b37788582fe02908f696a56d70a7b @tenderlove tenderlove committed Aug 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -68,7 +68,7 @@ def bin
directory "bin" do |content|
"#{shebang}\n" + content
end
- chmod "bin", 0755, verbose: false
+ chmod "bin", 0755 & ~File.umask, verbose: false
end
def config

0 comments on commit 169c214

Please sign in to comment.