Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 13:44:28 -0600 (CST)
From:      Lawrence Chen <lchen@lhaven.homeip.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        beastie_t@lhaven.homeip.net
Subject:   ports/183665: sysutils/lsof: installs with wrong permissions
Message-ID:  <201311041944.rA4JiSZq091540@zen.lhaven.homeip.net>
Resent-Message-ID: <201311041950.rA4Jo3V8066626@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183665
>Category:       ports
>Synopsis:       sysutils/lsof: installs with wrong permissions
>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:   Mon Nov 04 19:50:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Lawrence Chen
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	lsof is supposed to get installed in /usr/local/sbin setgid for group
	kmem.  But, it is getting installed with group wheel instead.
	
>How-To-Repeat:
	
	build and install the port as is results in:

	-rwxr-sr-x  1 root  wheel  133360 Nov  4 10:44 /usr/local/sbin/lsof*

>Fix:

	

	Setting NO_STAGE, and rebuilding/reinstalling results in it being
	installed with the correct group id.

	-rwxr-sr-x  1 root  kmem  133360 Nov  4 13:36 /usr/local/sbin/lsof*

	Probably something wrong with how it is staged?
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311041944.rA4JiSZq091540>