1 |
commit: 77aa0b2693eec1254835f4331948f266ea39059e |
2 |
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at> |
3 |
AuthorDate: Wed Dec 6 14:35:13 2017 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 14 22:05:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77aa0b26 |
7 |
|
8 |
app-backup/amanda: fixed permissions |
9 |
|
10 |
(revbump included by Robin H. Johnson [robbat2]) |
11 |
|
12 |
Closes: https://github.com/gentoo/gentoo/pull/6470 |
13 |
Closes: https://bugs.gentoo.org/639930 |
14 |
(cherry picked from commit 63d030d108893a4045402e1cf7581fc3b02fab36) |
15 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
16 |
|
17 |
app-backup/amanda/{amanda-3.5.1.ebuild => amanda-3.5.1-r1.ebuild} | 5 ++--- |
18 |
1 file changed, 2 insertions(+), 3 deletions(-) |
19 |
|
20 |
diff --git a/app-backup/amanda/amanda-3.5.1.ebuild b/app-backup/amanda/amanda-3.5.1-r1.ebuild |
21 |
similarity index 99% |
22 |
rename from app-backup/amanda/amanda-3.5.1.ebuild |
23 |
rename to app-backup/amanda/amanda-3.5.1-r1.ebuild |
24 |
index 058d9b9ccb9..997834b00aa 100644 |
25 |
--- a/app-backup/amanda/amanda-3.5.1.ebuild |
26 |
+++ b/app-backup/amanda/amanda-3.5.1-r1.ebuild |
27 |
@@ -474,9 +474,8 @@ amanda_permissions_fix() { |
28 |
[ -z "${root}" ] && die "Failed to pass root argument to amanda_permissions_fix!" |
29 |
local le="/usr/libexec/amanda" |
30 |
local i |
31 |
- for i in /usr/sbin/amcheck "${le}"/calcsize "${le}"/killpgrp \ |
32 |
- "${le}"/rundump "${le}"/runtar "${le}"/dumper \ |
33 |
- "${le}"/planner ; do |
34 |
+ for i in "${le}"/calcsize "${le}"/killpgrp \ |
35 |
+ "${le}"/rundump "${le}"/runtar ; do |
36 |
[ -e "${root}"/${i} ] || continue |
37 |
chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die |
38 |
chmod u=srwx,g=rx,o= "${root}"/${i} || die |