Message info
 
To:arch-projects@archlinux.org From:Dave Reisner Subject:[arch-projects] [mkinitcpio][PATCH 15/19] shutdown: package as 644, install as 755 Date:Sun, 13 May 2012 13:57:18 -0400
 

There's no need to keep this mildly dangerous script executable on the
filesystem.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
---
install/shutdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100755 => 100644 shutdown

diff --git a/install/shutdown b/install/shutdown
index e9a5d93..96818e1 100644
--- a/install/shutdown
+++ b/install/shutdown
@@ -3,7 +3,7 @@
build() {
add_binary cp
add_binary lsblk
- add_file "/usr/lib/initcpio/shutdown" "/shutdown"
+ add_file "/usr/lib/initcpio/shutdown" "/shutdown" 755

add_runscript
}
diff --git a/shutdown b/shutdown
old mode 100755
new mode 100644
--
1.7.10.2