svn commit: r466572 - in head/net-mgmt/py-pdagent: . files

Mark Felder feld at FreeBSD.org
Thu Apr 5 17:11:39 UTC 2018


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


More information about the svn-ports-head mailing list