summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/filesystems/glusterfs
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 /pkgs/tools/filesystems/glusterfs
parent4eeefadf4f125f45b30b9ec790b9ef60679d3038 (diff)
glusterfs: do not set setuid in install
related to #26600
Diffstat (limited to 'pkgs/tools/filesystems/glusterfs')
-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