From a54d001241346dd7e673ea6b45260cd164dae1f6 Mon Sep 17 00:00:00 2001
From: Matthew Thode <prometheanfire@gentoo.org>
Date: Fri, 28 Aug 2015 21:39:31 -0500
Subject: sys-block/open-iscsi: fixing perms on an installed script to be exec

Package-Manager: portage-2.2.20.1
---
 sys-block/open-iscsi/open-iscsi-2.0.873.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'sys-block')

diff --git a/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild
index 88f7dea66a31..34b33e3ee4d8 100644
--- a/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild
@@ -80,10 +80,12 @@ src_install() {
 	insinto /etc/iscsi
 	newins "${FILESDIR}"/initiatorname.iscsi initiatorname.iscsi.example
 	# udev pieces
-	insinto /etc/udev/scripts
-	doins "${FILESDIR}"/iscsidev.sh
 	insinto /lib/udev/rules.d
 	doins "${FILESDIR}"/99-iscsi.rules
+	insopts -m0755
+	insinto /etc/udev/scripts
+	doins "${FILESDIR}"/iscsidev.sh
+	insopts -m0644
 
 	newconfd "${FILESDIR}"/iscsid-conf.d iscsid
 	newinitd "${FILESDIR}"/iscsid-init.d iscsid
-- 
cgit v1.2.3-65-gdbad