summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-07-05 15:03:29 +0000
committerPacho Ramos <pacho@gentoo.org>2014-07-05 15:03:29 +0000
commitb0b3c488450bd87c92ad19f4a9758a6882835645 (patch)
tree58c2d623e3992a84da3981f4729b3cad404aac48 /app-backup
parentVersion bump (diff)
downloadgentoo-2-b0b3c488450bd87c92ad19f4a9758a6882835645.tar.gz
gentoo-2-b0b3c488450bd87c92ad19f4a9758a6882835645.tar.bz2
gentoo-2-b0b3c488450bd87c92ad19f4a9758a6882835645.zip
Bug 508052: directories used to be too restrictive, have to widen perms (thanks to Martin von Gagern)
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/tsm/ChangeLog9
-rw-r--r--app-backup/tsm/tsm-7.1.0.0-r1.ebuild (renamed from app-backup/tsm/tsm-7.1.0.0.ebuild)12
2 files changed, 16 insertions, 5 deletions
diff --git a/app-backup/tsm/ChangeLog b/app-backup/tsm/ChangeLog
index e6e488c14d16..bfd742dc83fa 100644
--- a/app-backup/tsm/ChangeLog
+++ b/app-backup/tsm/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-backup/tsm
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/ChangeLog,v 1.21 2014/02/17 21:15:20 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/ChangeLog,v 1.22 2014/07/05 15:03:29 pacho Exp $
+
+*tsm-7.1.0.0-r1 (05 Jul 2014)
+
+ 05 Jul 2014; Pacho Ramos <pacho@gentoo.org> +tsm-7.1.0.0-r1.ebuild,
+ -tsm-7.1.0.0.ebuild:
+ Bug 508052: directories used to be too restrictive, have to widen perms
+ (thanks to Martin von Gagern)
*tsm-7.1.0.0 (17 Feb 2014)
diff --git a/app-backup/tsm/tsm-7.1.0.0.ebuild b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
index 99091b28dee1..3c1825339943 100644
--- a/app-backup/tsm/tsm-7.1.0.0.ebuild
+++ b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-7.1.0.0.ebuild,v 1.1 2014/02/17 21:15:20 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-7.1.0.0-r1.ebuild,v 1.1 2014/07/05 15:03:29 pacho Exp $
EAPI=5
@@ -176,8 +176,7 @@ src_install() {
dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
- fowners -R :tsm /opt/tivoli
- fperms -R g+rX,o-rx /opt/tivoli # Allow only tsm group users to access TSM tools
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
keepdir /var/log/tsm
@@ -218,7 +217,7 @@ src_install() {
}
pkg_postinst() {
- local i
+ local i dirs
for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
if [[ ! -e $i ]]; then
touch $i || die
@@ -232,5 +231,10 @@ pkg_postinst() {
chown root:tsm /var/log/tsm || die
chmod 0750 /var/log/tsm || die
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
readme.gentoo_print_elog
}