From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 8 07:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AF817620 for ; Mon, 8 Jul 2013 07:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8DDC41D98 for ; Mon, 8 Jul 2013 07:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r687e00N027819 for ; Mon, 8 Jul 2013 07:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r687e0bN027818; Mon, 8 Jul 2013 07:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 8 Jul 2013 07:40:00 GMT Resent-Message-Id: <201307080740.r687e0bN027818@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Romain Tartiere Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1E9B577 for ; Mon, 8 Jul 2013 07:33:13 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (unknown [IPv6:2001:470:1f12:b9c::2]) by mx1.freebsd.org (Postfix) with ESMTP id D90FF1D60 for ; Mon, 8 Jul 2013 07:33:12 +0000 (UTC) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 83C1249199; Mon, 8 Jul 2013 09:33:10 +0200 (CEST) Message-Id: <20130708073310.83C1249199@marvin.blogreen.org> Date: Mon, 8 Jul 2013 09:33:10 +0200 (CEST) From: Romain Tartiere To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/180379: devel/rubygem-shoulda-context: negative group permissions X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Romain Tartiere List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 07:40:00 -0000 >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 `' 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 `
' irb(main):002:0> ---------------------------------- 8< ---------------------------------- >Fix: These files should be chmod'ed 644. >Release-Note: >Audit-Trail: >Unformatted: