Skip to contentSkip to conversation

gvfs: remove executable permission from systemd user services

PATCH New Andreas Müller 1 participant 1 message Apr 7, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gvfs: remove executable permission from systemd user services

As written in comment: Looks to me as if meson build is not yet working as it should for gvfs. Looked into but did not find suspicious. So just remove flags for now.

---
 meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb +8 -0
index df9fd50ea..8fed9e825 100644
@@ -73,4 +73,12 @@ do_install_append() {
     for exe in `find ${D}/${libexec}`; do
        chmod +x $exe
     done
+
+    # Something sets user services executable - looks a bit as if meson
+    # transition has room for enhancements...
+    # Systemd warns with messages as:
+    # Apr 07 01:00:33 raspberrypi3 systemd[348]: Configuration file /usr/lib/systemd/user/gvfs-mtp-volume-monitor.service is marked executable. Please remove executable permissio>
+    for service in `find ${D}/${systemd_user_unitdir}`; do
+       chmod -x $service
+    done
 }
Signature · 1 line
2.20.1