[gnome-build-meta/valentindavid/flatpak-helper: 2/3] core-deps/fuse.bst: Fix fusermount permissions



commit 7d1c09b63da7d262f36450b4f0e2d6922895ce88
Author: Valentin David <valentin david codethink co uk>
Date:   Thu Apr 16 18:41:06 2020 +0000

    core-deps/fuse.bst: Fix fusermount permissions
    
    It should have setuid.

 elements/core-deps/fuse.bst | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/elements/core-deps/fuse.bst b/elements/core-deps/fuse.bst
index fe78fe9c..890daa64 100644
--- a/elements/core-deps/fuse.bst
+++ b/elements/core-deps/fuse.bst
@@ -14,3 +14,10 @@ depends:
 
 environment:
   MOUNT_FUSE_PATH: '%{sbindir}'
+
+public:
+  initial-script:
+    script: |
+      #!/bin/bash
+      sysroot="${1}"
+      chmod 4755 "${sysroot}%{bindir}/fusermount"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]