Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files inside os gem are world writable #44

Open
vinayakvakkund opened this issue Jul 28, 2020 · 4 comments
Open

Files inside os gem are world writable #44

vinayakvakkund opened this issue Jul 28, 2020 · 4 comments

Comments

@vinayakvakkund
Copy link

I found that the files inside os gem are world writable. Is it possible to change the permissions?

image

@rdp
Copy link
Owner

rdp commented Nov 24, 2020

I am unable to repro, do you still?

@pboling
Copy link
Collaborator

pboling commented May 5, 2022

It is possible to change the permissions in git, but on a fresh checkout I too am unable to reproduce. I think this report was caused by a bug or artifact of vagrant.

@sethboyles
Copy link

@pboling We don't see world writable upon checking out this repo, but when install the gem we do:

~/.gem/ruby/3.2.2/gems/os-1.1.4$ ls
autotest  ChangeLog  Gemfile  Gemfile.lock  lib  LICENSE  os.gemspec  Rakefile  README.md  spec  VERSION
~/.gem/ruby/3.2.2/gems/os-1.1.4$ ls -al
total 68
drwxr-xr-x   5 pivotal pivotal  4096 Jul 24 06:23 .
drwxrwxr-x 208 pivotal pivotal 12288 Jul 24 06:24 ..
-rw-rw-rw-   1 pivotal pivotal   501 Jul 24 06:23 .autotest
drwxrwxr-x   2 pivotal pivotal  4096 Jul 24 06:23 autotest
-rw-r--r--   1 pivotal pivotal   581 Jul 24 06:23 ChangeLog
-rw-rw-rw-   1 pivotal pivotal    60 Jul 24 06:23 .document
-rw-rw-rw-   1 pivotal pivotal    38 Jul 24 06:23 Gemfile
-rw-rw-rw-   1 pivotal pivotal   313 Jul 24 06:23 Gemfile.lock
drwxrwxr-x   2 pivotal pivotal  4096 Jul 24 06:23 lib
-rw-rw-rw-   1 pivotal pivotal  1082 Jul 24 06:23 LICENSE
-rw-r--r--   1 pivotal pivotal  2023 Jul 24 06:23 os.gemspec
-rw-r--r--   1 pivotal pivotal  1346 Jul 24 06:23 Rakefile
-rw-r--r--   1 pivotal pivotal  2596 Jul 24 06:23 README.md
drwxrwxr-x   2 pivotal pivotal  4096 Jul 24 06:23 spec
-rw-r--r--   1 pivotal pivotal     6 Jul 24 06:23 VERSION
~/.gem/ruby/3.2.2/gems/os-1.1.4$ ls -al spec/
total 28
drwxrwxr-x 2 pivotal pivotal 4096 Jul 24 06:23 .
drwxr-xr-x 5 pivotal pivotal 4096 Jul 24 06:23 ..
-rw-rw-rw- 1 pivotal pivotal 1202 Jul 24 06:23 linux_spec.rb
-rw-rw-rw- 1 pivotal pivotal 5425 Jul 24 06:23 os_spec.rb
-rw-rw-rw- 1 pivotal pivotal  806 Jul 24 06:23 osx_spec.rb
-rw-rw-rw- 1 pivotal pivotal  261 Jul 24 06:23 spec_helper.rb
```

@pboling
Copy link
Collaborator

pboling commented Jul 25, 2023

Interesting. I will try to repro that way. Thanks for the follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants