This project is archived and is in readonly mode.
Executable bit on some files
Reported by Sakuro | June 9th, 2010 @ 03:28 AM
This does not affect code working but ugly and confuses shell
users.
Executable permission bit is set for some files which are not
expected to be run.
$ find acti* rail* -type f -perm /111 -exec ls -F '{}' +
actionpack-3.0.0.beta4/lib/action_dispatch/http/request.rb*
activerecord-3.0.0.beta4/examples/performance.rb*
activerecord-3.0.0.beta4/lib/active_record/associations.rb*
activerecord-3.0.0.beta4/lib/active_record/base.rb*
activerecord-3.0.0.beta4/lib/active_record/connection_adapters/abstract_adapter.rb*
activesupport-3.0.0.beta4/lib/active_support/core_ext/object/to_param.rb*
[This is OK->] rails-3.0.0.beta4/bin/rails*
railties-3.0.0.beta4/guides/assets/javascripts/code_highlighter.js*
railties-3.0.0.beta4/guides/assets/javascripts/guides.js*
railties-3.0.0.beta4/guides/assets/stylesheets/print.css*
railties-3.0.0.beta4/guides/assets/stylesheets/reset.css*
railties-3.0.0.beta4/guides/assets/stylesheets/style.css*
railties-3.0.0.beta4/lib/rails/commands/generate.rb*
railties-3.0.0.beta4/lib/rails/generators/rails/app/templates/Rakefile*
Comments and changes to this ticket
-
Rohit Arondekar June 16th, 2010 @ 02:23 PM
- State changed from new to open
- Assigned user set to José Valim
This is still the case in Rails master.
I've attached a patch that fixes this.
-
Repository June 19th, 2010 @ 11:59 PM
- State changed from open to resolved
(from [95a8f252c028c94b70cce4888bce42b7e9e30786]) remove executable permission from files that don't need it. [#4802 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/95a8f252c028c94b70cce4888bce42...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 4802 Executable bit on some files (from [95a8f252c028c94b70cce4888bce42b7e9e30786]) remove ...