aboutsummaryrefslogtreecommitdiffstats
path: root/security/aide
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2007-12-02 15:02:37 +0800
committercy <cy@FreeBSD.org>2007-12-02 15:02:37 +0800
commitd16116444ef76a75d628aa802d548a1500adb22d (patch)
tree7adecea6704e493b091566fd7cea66e433f19f60 /security/aide
parent6ff11e8bb979ee2ae51afa5ab8aae11a14dd6fd0 (diff)
downloadfreebsd-ports-gnome-d16116444ef76a75d628aa802d548a1500adb22d.tar.gz
freebsd-ports-gnome-d16116444ef76a75d628aa802d548a1500adb22d.tar.zst
freebsd-ports-gnome-d16116444ef76a75d628aa802d548a1500adb22d.zip
Correct chmod location.
Approved by: portmgr (linimon)
Diffstat (limited to 'security/aide')
-rw-r--r--security/aide/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/aide/pkg-plist b/security/aide/pkg-plist
index 0351bfee5201..a9989a71bdb3 100644
--- a/security/aide/pkg-plist
+++ b/security/aide/pkg-plist
@@ -5,8 +5,8 @@ etc/aide.conf.sample
@exec /bin/mkdir -p /var/db/aide/databases
@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chown root:wheel /var/db/aide
@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chown root:wheel /var/db/aide/databases
-@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chmod 0700 /var/db/aide
-@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chmod 0700 /var/db/aide/databases
+@exec [ -f /var/db/aide/aide.conf ] || /bin/chmod 0700 /var/db/aide
+@exec [ -f /var/db/aide/aide.conf ] || /bin/chmod 0700 /var/db/aide/databases
@unexec rmdir /var/db/aide/databases 2>/dev/null || true
@unexec rmdir /var/db/aide 2>/dev/null || true
@unexec rmdir /var/db 2>/dev/null || true