Patchwork [4/4] linux-firmware: Fix file permissions

login
register
mail settings
Submitter Mark Hatle
Date June 24, 2011, 6:40 p.m.
Message ID <0009fa951d45c742963279b0d9740c1209b46456.1308940765.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/6487/
State New, archived
Headers show

Comments

Mark Hatle - June 24, 2011, 6:40 p.m.
The firmware was installed 0666 which could have been a security
issue.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 .../linux-firmware/linux-firmware_git.bb           |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 3d822c5..29f1e78 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -32,9 +32,9 @@  do_compile() {
 do_install() {
 	install -d  ${D}/lib/firmware/
 	# Libertas sd8686
-	install -m 0666 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
-	install -m 0666 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
-	install -m 0666 LICENCE.libertas ${D}/lib/firmware/
+	install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
+	install -m 0644 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
+	install -m 0644 LICENCE.libertas ${D}/lib/firmware/
 }
 
 PACKAGES = "${PN}-sd8686"