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



commit bc383fba32d9123e9b2676b0256325c09a0a03a3
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]