From f48655d04d463a89b7ac15bc3942ec6c574c6cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 8 Nov 2019 15:03:02 +0100 Subject: Remove unneeded exec bits from some files I noticed that some files in rubygems were executable, and I could think of no reason why they should be. In general, I think ruby files should never have the executable bit set unless they include a shebang, so I run the following command over the whole repo: ```bash find . -name '*.rb' -type f -executable -exec bash -c 'grep -L "^#!" $1 || chmod -x $1' _ {} \; ``` --- sample/test.rb | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 sample/test.rb (limited to 'sample/test.rb') diff --git a/sample/test.rb b/sample/test.rb old mode 100755 new mode 100644 -- cgit v1.2.3