ports/151515: Wrong chmod for fetchmailrc in port mail/fetchmail
Alexander Milanov
a at amilanov.com
Sun Oct 17 10:40:09 UTC 2010
>Number: 151515
>Category: ports
>Synopsis: Wrong chmod for fetchmailrc in port mail/fetchmail
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 17 10:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alexander Milanov
>Release: 8.1-RELEASE
>Organization:
>Environment:
FreeBSD test.example.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Fetchmail installed from the ports and started as is complains about the file mod of fetchmailrc ("File /usr/local/etc/fetchmailrc must have no more than -rwx------ (0700) permissions.") and exits.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: mail/fetchmail/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/fetchmail/Makefile,v
retrieving revision 1.210
diff -u -r1.210 Makefile
--- mail/fetchmail/Makefile 31 May 2010 01:59:40 -0000 1.210
+++ mail/fetchmail/Makefile 23 Aug 2010 14:59:10 -0000
@@ -126,7 +126,7 @@
${INSTALL} -m 644 -o fetchmail -g fetchmail ${FILESDIR}/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc.sample
if [ ! -f ${PREFIX}/etc/fetchmailrc ]; then \
${CP} -p ${PREFIX}/etc/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc ; \
- ${CHMOD} 640 ${PREFIX}/etc/fetchmailrc ; \
+ ${CHMOD} 600 ${PREFIX}/etc/fetchmailrc ; \
fi
@${ECHO_CMD} ""
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list