Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 06:41:36 -0700 (PDT)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40145: sendmail binary permissions are incorrect
Message-ID:  <200207031341.g63DfatJ084386@freefall.freebsd.org>

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

>Number:         40145
>Category:       ports
>Synopsis:       sendmail binary permissions are incorrect
>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:   Wed Jul 03 06:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Chadd
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 4.6-STABLE FreeBSD 4.6-STABLE #4: Wed Jun 26 02:35:34 PDT 2002 peter@freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386

.. 4.5 and 4.6-STABLE, current ports tree

>Description:

When a sendmail package is built, the chown command target isn't prefixed with
the package directory causing the chown to fail.

>How-To-Repeat:
* make the port
* make a package
* install it somewhere else
>Fix:

Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/sendmail/pkg-plist,v
retrieving revision 1.13
diff -u -r1.13 pkg-plist
--- pkg-plist	26 Jun 2002 03:37:22 -0000	1.13
+++ pkg-plist	3 Jul 2002 13:38:39 -0000
@@ -24,7 +24,7 @@
 sbin/sendmail
 @group
 @comment (overwritten by pkg_add) chown root:smmsp sbin/sendmail
-@exec chmod 2555 sbin/sendmail
+@exec chmod 2555 %D/sbin/sendmail
 %%PORTDOCS%%share/doc/sendmail/op.ps
 %%PORTDOCS%%share/doc/sendmail/op.txt
 %%PORTDOCS%%share/doc/sendmail/DEVTOOLS

>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?200207031341.g63DfatJ084386>