summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-06-18 11:50:03 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-06-18 11:57:23 +0100
commitecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae (patch)
treecddc69c1581cbbd5432056870e1c46cc1b2ca7d4
parent4eeefadf4f125f45b30b9ec790b9ef60679d3038 (diff)
downloadnixlib-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar
nixlib-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.gz
nixlib-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.bz2
nixlib-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.lz
nixlib-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.xz
nixlib-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.zst
nixlib-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.zip
glusterfs: do not set setuid in install
related to #26600
-rw-r--r--pkgs/tools/filesystems/glusterfs/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix
index 60e49486454b..af76e429d31c 100644
--- a/pkgs/tools/filesystems/glusterfs/default.nix
+++ b/pkgs/tools/filesystems/glusterfs/default.nix
@@ -65,6 +65,10 @@ rec {
   inherit (s) name version;
   inherit buildInputs propagatedBuildInputs;
 
+  postPatch = ''
+    sed -e '/chmod u+s/d' -i contrib/fuse-util/Makefile.am
+  '';
+
   patches = [
     ./glusterfs-use-PATH-instead-of-hardcodes.patch
     ./glusterfs-fix-unsubstituted-autoconf-macros.patch