Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 21:30:02 +0400 (MSD)
From:      babolo@links.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19147: ports/sysutils/deleted install with no s bit (patch)
Message-ID:  <200006091730.VAA28667@aaz.links.ru>

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

>Number:         19147
>Category:       ports
>Synopsis:       ports/sysutils/deleted install with no s bit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 10:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Aleksandr A. Babaylov
>Release:        FreeBSD 4.X
>Organization:
home
>Environment:

FreeBSD 4.0-STABLE with current ports

>Description:

sysutils/deleted need suid to root to do chroot
but current install from ports does not suid it

>How-To-Repeat:

cd /usr/ports/sysutils/deleted
make install
rehash
deleted -t 2d ${TMPDIR}

>Fix:

diff -ruN deleted.old/patches/patch-aa deleted/patches/patch-aa
--- deleted.old/patches/patch-aa	Thu Jan  1 03:00:00 1970
+++ deleted/patches/patch-aa	Fri Jun  9 21:21:19 2000
@@ -0,0 +1,11 @@
+--- Makefile.orig	Thu Jun  1 04:05:45 2000
++++ Makefile	Fri Jun  9 21:19:42 2000
+@@ -11,7 +11,7 @@
+ MANS	= ${PKG}.1
+ MANG	= ${PKG}.1.gz
+ 
+-BINMODE		?= 04555
++BINMODE		= 04555
+ MANMODE		?= 0444
+ INSTALL_PROGRAM	?= install -c -s -o root -g wheel -m ${BINMODE}
+ INSTALL_MAN	?= install -c -o root -g wheel -m ${MANMODE}

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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