mirror of
https://github.com/github/rails.git
synced 2026-01-08 22:27:59 -05:00
Merge pull request #12048 from tjouan/app_generator-bin_perms-umask
Comply with current umask when generating new app Conflicts: railties/lib/rails/generators/rails/app/app_generator.rb
This commit is contained in:
@@ -103,7 +103,7 @@ module Rails
|
||||
directory "script" do |content|
|
||||
"#{shebang}\n" + content
|
||||
end
|
||||
chmod "script", 0755, :verbose => false
|
||||
chmod "script", 0755 & ~File.umask, :verbose => false
|
||||
end
|
||||
|
||||
def test
|
||||
|
||||
Reference in New Issue
Block a user