From patchwork Sun Feb 3 05:47:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Brewer X-Patchwork-Id: 2062 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id C1C8385D3E5 for ; Sat, 2 Feb 2019 18:47:30 +0000 (GMT) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 43sNJ16SWnz57KRY; Sat, 2 Feb 2019 18:47:29 +0000 (GMT) Received: from tuscan3.grantura.co.uk (grantura.uk [217.169.17.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 43sNHy1XtVz57KR2 for ; Sat, 2 Feb 2019 18:47:25 +0000 (GMT) Received: from tuscan3.grantura.co.uk (localhost [127.0.0.1]) by tuscan3.grantura.co.uk (8.15.2/8.15.2/Debian-12) with ESMTP id x12IlJM7021188 for ; Sat, 2 Feb 2019 18:47:19 GMT Received: (from news@localhost) by tuscan3.grantura.co.uk (8.15.2/8.15.2/Submit) id x12IlJmj021187 for development@lists.ipfire.org; Sat, 2 Feb 2019 18:47:19 GMT To: development@lists.ipfire.org From: Bob Brewer Newsgroups: grantura.local.ipfire-devel Subject: sendEmail-1.56-1 Date: Sat, 02 Feb 2019 18:47:19 +0000 Organization: Megadodo Publications Lines: 28 Message-ID: Mime-Version: 1.0 User-Agent: KNode/4.14.10 Authentication-Results: mail01.ipfire.org X-Spamd-Result: default: False [-5.32 / 11.00]; ARC_NA(0.00)[]; MX_INVALID(0.50)[greylisted]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.95)[ip: (-7.74), ipnet: 217.169.0.0/19(-3.87), asn: 20712(-3.10), country: GB(-0.06)]; BAYES_HAM(-3.00)[100.00%]; DMARC_NA(0.00)[grantura.co.uk]; NEURAL_HAM(-2.06)[-0.688,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[ipfire-devel@grantura.co.uk,news@tuscan3.grantura.co.uk]; R_DKIM_NA(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:20712, ipnet:217.169.0.0/19, country:GB]; FROM_NEQ_ENVFROM(0.00)[ipfire-devel@grantura.co.uk,news@tuscan3.grantura.co.uk]; RCVD_TLS_LAST(0.00)[] X-Spam-Status: No, score=-5.32 X-Rspamd-Server: mail01.i.ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" I installed the sendEmail addon with pakfire which installs /usr/local/bin/sendEmail OK but I think it has incorrect owners and permissions. As installed it has: -rwxr-xr-x 1 503 tape 80215 Dec 6 2012 sendEmail which I think should be: -rwsr-x--- 1 root nobody 80215 Dec 6 2012 sendEmail This patch to lfs/sendEmail should correct it HTH Rob diff -u lfs/sendEmail lfs/sendEmail.1 --- lfs/sendEmail 2019-01-20 10:07:56.128391962 +0000 +++ lfs/sendEmail.1 2019-02-02 18:08:58.823295469 +0000 @@ -63,7 +63,8 @@ @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && cp -pvf sendEmail /usr/local/bin - chmod 755 /usr/local/bin/sendEmail + chown root.nobody /usr/local/bin/sendEmail + chmod 04750 /usr/local/bin/sendEmail @rm -rf $(DIR_APP) @$(POSTBUILD)