From owner-svn-ports-all@freebsd.org Thu Apr 5 17:11:39 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9F0BF93C67; Thu, 5 Apr 2018 17:11:39 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D15F869BD; Thu, 5 Apr 2018 17:11:39 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 67D95257BB; Thu, 5 Apr 2018 17:11:39 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w35HBdWf026068; Thu, 5 Apr 2018 17:11:39 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w35HBdEw026066; Thu, 5 Apr 2018 17:11:39 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201804051711.w35HBdEw026066@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Thu, 5 Apr 2018 17:11:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466572 - in head/net-mgmt/py-pdagent: . files X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/net-mgmt/py-pdagent: . files X-SVN-Commit-Revision: 466572 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2018 17:11:39 -0000 Author: feld Date: Thu Apr 5 17:11:39 2018 New Revision: 466572 URL: https://svnweb.freebsd.org/changeset/ports/466572 Log: net/py-pdagent: Further increase security Limit access to alert data files which could hold sensitive information PR: 227273 Modified: head/net-mgmt/py-pdagent/Makefile head/net-mgmt/py-pdagent/files/pdagentd.in Modified: head/net-mgmt/py-pdagent/Makefile ============================================================================== --- head/net-mgmt/py-pdagent/Makefile Thu Apr 5 17:10:43 2018 (r466571) +++ head/net-mgmt/py-pdagent/Makefile Thu Apr 5 17:11:39 2018 (r466572) @@ -4,7 +4,7 @@ PORTNAME= pdagent PORTVERSION= 1.4 DISTVERSIONPREFIX=v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Modified: head/net-mgmt/py-pdagent/files/pdagentd.in ============================================================================== --- head/net-mgmt/py-pdagent/files/pdagentd.in Thu Apr 5 17:10:43 2018 (r466571) +++ head/net-mgmt/py-pdagent/files/pdagentd.in Thu Apr 5 17:11:39 2018 (r466572) @@ -34,7 +34,7 @@ pdagent_mkdirs="/var/db/pdagent /var/db/pdagent/outque pdagentd_precmd() { for i in ${pdagent_mkdirs}; do - install -d -o ${pdagentd_user} -g ${pdagentd_group} -m 775 ${i} + install -d -o ${pdagentd_user} -g ${pdagentd_group} -m 770 ${i} done chown -R ${pdagentd_user}:${pdagentd_group} /var/db/pdagent