Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Comply with current umask when generating new app
  • Loading branch information...
commit ea01b54dcba28673e147e42c3d9acb5fd146cb4b 1 parent b351c6f
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/generators/rails/app/app_generator.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.