Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2018 17:11:39 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
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
Message-ID:  <201804051711.w35HBdEw026066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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