From patchwork Tue Nov 27 20:33:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [20/21] e-wm: fix file permissions on sysactions.conf Date: Tue, 27 Nov 2012 20:33:57 -0000 From: Martin Jansa X-Patchwork-Id: 39755 Message-Id: <8695490f1bd60cab8a85de5a5d1b19fd6486803e.1354034591.git.Martin.Jansa@gmail.com> To: openembedded-devel@lists.openembedded.org Signed-off-by: Martin Jansa --- meta-efl/recipes-efl/e17/e-wm_svn.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-efl/recipes-efl/e17/e-wm_svn.bb b/meta-efl/recipes-efl/e17/e-wm_svn.bb index d5f92bb..abee301 100644 --- a/meta-efl/recipes-efl/e17/e-wm_svn.bb +++ b/meta-efl/recipes-efl/e17/e-wm_svn.bb @@ -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