sporkrb/spork — Issue #176: wrong file permissions with v0.9.0
Author: cesare
Created: 2012-02-15 17:22:40+00:00
State: open

I cannot run spork 0.9.0, because of a file permission problem.

I tried to unpack the gem with
```$ gem unpack spork -v 0.9.0```

and checked files in it,

```
$ find lib bin -type f -print0 | xargs -0 ls -o
-rwx--x--x 1 cesare 460 2012-02-16 01:51 bin/spork
-rw-r--r-- 1 cesare 5266 2012-02-16 01:51 lib/spork.rb
-rw-r--r-- 1 cesare 2505 2012-02-16 01:51 lib/spork/app_framework.rb
-rw-r--r-- 1 cesare 554 2012-02-16 01:51 lib/spork/app_framework/padrino.rb
-rw-r--r-- 1 cesare 2330 2012-02-16 01:51 lib/spork/app_framework/rails.rb
-rw-r--r-- 1 cesare 156 2012-02-16 01:51 lib/spork/app_framework/unknown.rb
-rw------- 1 cesare 474 2012-02-16 01:51 lib/spork/custom_io_streams.rb
-rw------- 1 cesare 3604 2012-02-16 01:51 lib/spork/diagnoser.rb
-rw-r--r-- 1 cesare 456 2012-02-16 01:51 lib/spork/ext/rails-reloader.rb
-rw------- 1 cesare 3750 2012-02-16 01:51 lib/spork/ext/ruby-debug.rb
-rw------- 1 cesare 1787 2012-02-16 01:51 lib/spork/forker.rb
-rw-r--r-- 1 cesare 1135 2012-02-16 01:51 lib/spork/gem_helpers.rb
-rw------- 1 cesare 884 2012-02-16 01:51 lib/spork/run_strategy.rb
-rw------- 1 cesare 752 2012-02-16 01:51 lib/spork/run_strategy/forking.rb
-rwxr-xr-x 1 cesare 3495 2012-02-16 01:51 lib/spork/run_strategy/magazine.rb
-rwx--x--x 1 cesare 799 2012-02-16 01:51 lib/spork/run_strategy/magazine/magazine_slave.rb
-rwx--x--x 1 cesare 734 2012-02-16 01:51 lib/spork/run_strategy/magazine/magazine_slave_provider.rb
-rwx--x--x 1 cesare 223 2012-02-16 01:51 lib/spork/run_strategy/magazine/ring_server.rb
-rw-r--r-- 1 cesare 2924 2012-02-16 01:51 lib/spork/runner.rb
-rw-r--r-- 1 cesare 2593 2012-02-16 01:51 lib/spork/server.rb
-rw-r--r-- 1 cesare 4731 2012-02-16 01:51 lib/spork/test_framework.rb
-rw------- 1 cesare 1056 2012-02-16 01:51 lib/spork/test_framework/cucumber.rb
-rw------- 1 cesare 453 2012-02-16 01:51 lib/spork/test_framework/rspec.rb
```

The permissions of some .rb files are 0600 or 0711, not readable for users except for the owner.
I think these permissions should be 0644 or 0755.