From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 29 07:30:23 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF9B16A415 for ; Fri, 29 Sep 2006 07:30:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5612343D53 for ; Fri, 29 Sep 2006 07:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8T7UIQu052245 for ; Fri, 29 Sep 2006 07:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8T7UIuA052244; Fri, 29 Sep 2006 07:30:18 GMT (envelope-from gnats) Resent-Date: Fri, 29 Sep 2006 07:30:18 GMT Resent-Message-Id: <200609290730.k8T7UIuA052244@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, Dimitri Aivaliotis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E891716A492 for ; Fri, 29 Sep 2006 07:28:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B787F43D45 for ; Fri, 29 Sep 2006 07:28:33 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k8T7SXAF009934 for ; Fri, 29 Sep 2006 07:28:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k8T7SXOk009932; Fri, 29 Sep 2006 07:28:33 GMT (envelope-from nobody) Message-Id: <200609290728.k8T7SXOk009932@www.freebsd.org> Date: Fri, 29 Sep 2006 07:28:33 GMT From: Dimitri Aivaliotis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/103801: lang/ruby18: unprivileged rubygems install of gems with extensions fails X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 07:30:23 -0000 >Number: 103801 >Category: ports >Synopsis: lang/ruby18: unprivileged rubygems install of gems with extensions fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 29 07:30:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dimitri Aivaliotis >Release: 6.1-RELEASE >Organization: >Environment: FreeBSD linux-dna.everyware.ch 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: rubygems allows for nonprivileged users to use a gems repository in their home directory. When installing a gem that compiles an extension, the install of this compiled part fails because the CONFIG["INSTALL"] in rbconfig.rb is set to "/usr/bin/install -c -o root -g wheel". An unprivileged user can obviously not install anything as root, so the install fails. >How-To-Repeat: - install ruby and rubygems from ports. - setup a local gem repository as an unprivileged user. - install any gem that compiles an extension (mongrel, hpricot, etc.) >Fix: set CONFIG["INSTALL"] = '/usr/bin/install -c' in rbconfig.rb >Release-Note: >Audit-Trail: >Unformatted: