diff options
author | feld <feld@FreeBSD.org> | 2018-04-06 01:11:39 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2018-04-06 01:11:39 +0800 |
commit | 0302d714ee5d0216109e47547398d902f9e70ca9 (patch) | |
tree | 630685011cc3dd045dd036160dc03b805fabdd61 /net-mgmt | |
parent | e557d5e14b6be2e7fdaa79df354806c3e767090c (diff) | |
download | freebsd-ports-gnome-0302d714ee5d0216109e47547398d902f9e70ca9.tar.gz freebsd-ports-gnome-0302d714ee5d0216109e47547398d902f9e70ca9.tar.zst freebsd-ports-gnome-0302d714ee5d0216109e47547398d902f9e70ca9.zip |
net/py-pdagent: Further increase security
Limit access to alert data files which could hold sensitive information
PR: 227273
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/py-pdagent/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/py-pdagent/files/pdagentd.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/py-pdagent/Makefile b/net-mgmt/py-pdagent/Makefile index 291ea6cc3160..b2d6f11ec715 100644 --- a/net-mgmt/py-pdagent/Makefile +++ b/net-mgmt/py-pdagent/Makefile @@ -4,7 +4,7 @@ PORTNAME= pdagent PORTVERSION= 1.4 DISTVERSIONPREFIX=v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/net-mgmt/py-pdagent/files/pdagentd.in b/net-mgmt/py-pdagent/files/pdagentd.in index 2865a97cf940..98842a3ef3b2 100644 --- a/net-mgmt/py-pdagent/files/pdagentd.in +++ b/net-mgmt/py-pdagent/files/pdagentd.in @@ -34,7 +34,7 @@ pdagent_mkdirs="/var/db/pdagent /var/db/pdagent/outqueue /var/db/pdagent/db /var 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 |