summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan G. Weichinger <office@oops.co.at>2017-12-06 15:35:13 +0100
committerRobin H. Johnson <robbat2@gentoo.org>2017-12-14 14:05:29 -0800
commit77aa0b2693eec1254835f4331948f266ea39059e (patch)
treed61d7d5306553e2ed9903af0ea2f153b68b962ff
parentx11-libs/libdrm: Drop old versions (diff)
downloadgentoo-77aa0b2693eec1254835f4331948f266ea39059e.tar.gz
gentoo-77aa0b2693eec1254835f4331948f266ea39059e.tar.bz2
gentoo-77aa0b2693eec1254835f4331948f266ea39059e.zip
app-backup/amanda: fixed permissions
(revbump included by Robin H. Johnson [robbat2]) Closes: https://github.com/gentoo/gentoo/pull/6470 Closes: https://bugs.gentoo.org/639930 (cherry picked from commit 63d030d108893a4045402e1cf7581fc3b02fab36) Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--app-backup/amanda/amanda-3.5.1-r1.ebuild (renamed from app-backup/amanda/amanda-3.5.1.ebuild)5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-backup/amanda/amanda-3.5.1.ebuild b/app-backup/amanda/amanda-3.5.1-r1.ebuild
index 058d9b9ccb9d..997834b00aae 100644
--- a/app-backup/amanda/amanda-3.5.1.ebuild
+++ b/app-backup/amanda/amanda-3.5.1-r1.ebuild
@@ -474,9 +474,8 @@ amanda_permissions_fix() {
[ -z "${root}" ] && die "Failed to pass root argument to amanda_permissions_fix!"
local le="/usr/libexec/amanda"
local i
- for i in /usr/sbin/amcheck "${le}"/calcsize "${le}"/killpgrp \
- "${le}"/rundump "${le}"/runtar "${le}"/dumper \
- "${le}"/planner ; do
+ for i in "${le}"/calcsize "${le}"/killpgrp \
+ "${le}"/rundump "${le}"/runtar ; do
[ -e "${root}"/${i} ] || continue
chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die
chmod u=srwx,g=rx,o= "${root}"/${i} || die