ports/183665: sysutils/lsof: installs with wrong permissions

Lawrence Chen lchen at lhaven.homeip.net
Mon Nov 4 19:50:03 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list