Date: Mon, 8 Jul 2013 09:33:10 +0200 (CEST) From: Romain Tartiere <romain@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/180379: devel/rubygem-shoulda-context: negative group permissions Message-ID: <20130708073310.83C1249199@marvin.blogreen.org> Resent-Message-ID: <201307080740.r687e0bN027818@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180379 >Category: ports >Synopsis: devel/rubygem-shoulda-context: negative group permissions >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 08 07:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Romain Tartiere >Release: FreeBSD 9.1-STABLE amd64 >Organization: >Environment: System: FreeBSD marvin.blogreen.org 9.1-STABLE FreeBSD 9.1-STABLE #2 r252021: Thu Jun 20 10:41:47 CEST 2013 root@marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN amd64 >Description: After installing rubygem-shoulda-3.5.0, the daily scripts reports: ---------------------------------- 8< ---------------------------------- Checking negative group permissions: 303304 -rw----r-- 1 root wheel 84 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/.gitignore 303305 -rw----r-- 1 root wheel 25 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/.travis.yml 303306 -rw----r-- 1 root wheel 321 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/Appraisals 303307 -rw----r-- 1 root wheel 1336 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/CONTRIBUTING.md 303308 -rw----r-- 1 root wheel 38 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/Gemfile 303309 -rw----r-- 1 root wheel 1102 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/MIT-LICENSE 303310 -rw----r-- 1 root wheel 2063 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/README.md 303311 -rw----r-- 1 root wheel 466 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/Rakefile 303315 -rw----r-- 1 root wheel 113 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/3.0.gemfile 303316 -rw----r-- 1 root wheel 1984 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/3.0.gemfile.lock 303317 -rw----r-- 1 root wheel 148 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/3.1.gemfile 303318 -rw----r-- 1 root wheel 2409 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/3.1.gemfile.lock 303319 -rw----r-- 1 root wheel 148 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/3.2.gemfile 303320 -rw----r-- 1 root wheel 2379 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/3.2.gemfile.lock 303321 -rw----r-- 1 root wheel 165 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/4.0.gemfile 303322 -rw----r-- 1 root wheel 2499 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/gemfiles/4.0.gemfile.lock 303323 -rw----r-- 1 root wheel 59 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/init.rb 303325 -rw----r-- 1 root wheel 26 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda-context.rb 303327 -rw----r-- 1 root wheel 960 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context.rb 303329 -rw----r-- 1 root wheel 3987 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/assertions.rb 303330 -rw----r-- 1 root wheel 1928 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/autoload_macros.rb 303331 -rw----r-- 1 root wheel 14156 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/context.rb 303332 -rw----r-- 1 root wheel 373 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/proc_extensions.rb 303333 -rw----r-- 1 root wheel 83 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/tasks.rb 303335 -rw----r-- 1 root wheel 836 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/tasks/list_tests.rake 303336 -rw----r-- 1 root wheel 907 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/tasks/yaml_to_shoulda.rake 303337 -rw----r-- 1 root wheel 71 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/lib/shoulda/context/version.rb 303339 -rw----r-- 1 root wheel 136 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/rails/init.rb 303340 -rw----r-- 1 root wheel 1159 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/shoulda-context.gemspec 303342 -rw----r-- 1 root wheel 86 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/tasks/shoulda.rake 303347 -rw----r-- 1 root wheel 90 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/fake_rails_root/test/shoulda_macros/custom_macro.rb 303352 -rw----r-- 1 root wheel 81 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/fake_rails_root/vendor/gems/gem_with_macro-0.0.1/shoulda_macros/gem_macro.rb 303354 -rw----r-- 1 root wheel 0 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/fake_rails_root/vendor/plugins/.keep 303357 -rw----r-- 1 root wheel 90 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/fake_rails_root/vendor/plugins/plugin_with_macro/shoulda_macros/plugin_macro.rb 303359 -rw----r-- 1 root wheel 459 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/shoulda/autoload_macro_test.rb 303360 -rw----r-- 1 root wheel 8354 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/shoulda/context_test.rb 303361 -rw----r-- 1 root wheel 1305 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/shoulda/convert_to_should_syntax_test.rb 303362 -rw----r-- 1 root wheel 5843 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/shoulda/helpers_test.rb 303363 -rw----r-- 1 root wheel 7967 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/shoulda/should_test.rb 303364 -rw----r-- 1 root wheel 319 Jun 30 15:19:55 2013 /usr/local/lib/ruby/gems/1.9/gems/shoulda-context-1.1.4/test/test_helper.rb ---------------------------------- 8< ---------------------------------- >How-To-Repeat: As a consequence, users in the weel group can't use shoulda: ---------------------------------- 8< ---------------------------------- irb(main):001:0> require 'shoulda' LoadError: cannot load such file -- shoulda/context from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:60:in `require' from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:60:in `rescue in require' from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:35:in `require' from /usr/local/lib/ruby/gems/1.9/gems/shoulda-3.5.0/lib/shoulda.rb:3:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:60:in `require' from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:60:in `rescue in require' from /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:35:in `require' from (irb):1 from /usr/local/bin/irb:12:in `<main>' irb(main):002:0> ---------------------------------- 8< ---------------------------------- >Fix: These files should be chmod'ed 644. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130708073310.83C1249199>