From e195e7e372b8fd1b8e9f849aa7d5794fb6f40993 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Thu, 4 Apr 2019 01:15:33 +0200 Subject: gvfs: Fix missing executable permission flags for files in libexec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At least XFCE sessions turned into unusable state [1] [1] http://lists.openembedded.org/pipermail/openembedded-devel/2019-April/199010.html Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'meta-gnome/recipes-gnome') diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb b/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb index 7b9a16e9e..df9fd50ea 100644 --- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb +++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb @@ -61,8 +61,16 @@ PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse" # libcdio-paranoia recipe doesn't exist yet PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia" -# Fix up permissions on polkit rules.d to work with rpm4 constraints do_install_append() { + # Fix up permissions on polkit rules.d to work with rpm4 constraints chmod 700 ${D}/${datadir}/polkit-1/rules.d chown polkitd:root ${D}/${datadir}/polkit-1/rules.d + + # After rebuilds (not from scracth) it can happen that the executables in + # libexec ar missing executable permission flag. Not sure but it came up + # during transition to meson. Looked into build files and logs but could + # not find suspicious + for exe in `find ${D}/${libexec}`; do + chmod +x $exe + done } -- cgit v1.2.3-54-g00ecf