e-wm: fix file permissions on sysactions.conf
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 23 Nov 2012 13:55:42 +0000 (14:55 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:25:07 +0000 (08:25 -0800)
(From meta-openembedded rev: 92bf1cf3684ec0c435feafab4694e7820bbd5fe1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-efl/recipes-efl/e17/e-wm_svn.bb

index d5f92bb..abee301 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "MIT BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=76de290eb3fdda12121830191c152a7d"
 SRCNAME = "e"
 PV = "0.16.999.060+svnr${SRCPV}"
-PR = "r9"
+PR = "r10"
 SRCREV = "${EFL_SRCREV}"
 
 inherit e update-alternatives gettext
@@ -32,6 +32,10 @@ do_install_append() {
     # customising - should rather make this simple upstream
     install -m 755 ${WORKDIR}/enlightenment_start.oe ${D}/${bindir}
 
+    # security reasons, e-wm checks that in runtime
+    # xinit[418]: ERROR: CONFIGURATION FILE HAS BAD PERMISSIONS
+    chmod 600 ${D}/${sysconfdir}/enlightenment/sysactions.conf
+
     install -d ${D}/${datadir}/applications/
     install -m 644 ${S}/src/modules/fileman/module.desktop ${D}/${datadir}/applications/efm.desktop
     sed "s#Type=Link#Type=Application#g" -i ${D}/${datadir}/applications/efm.desktop