summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-05-08 02:21:53 +0200
committerGitHub <noreply@github.com>2020-05-07 17:21:53 -0700
commite2d42672b702ac6a1a3fe182b903e6122945c033 (patch)
treeada6e95786acb3eeead7aeeddc957232f8cf165e /etc
parent08f449ae9a4b18e5a8c1056278b6e925d1760678 (diff)
downloadspack-e2d42672b702ac6a1a3fe182b903e6122945c033.tar.gz
spack-e2d42672b702ac6a1a3fe182b903e6122945c033.tar.bz2
spack-e2d42672b702ac6a1a3fe182b903e6122945c033.tar.xz
spack-e2d42672b702ac6a1a3fe182b903e6122945c033.zip
Config option to disable setting S_ISGID bit when creating installation directory (#14479)
* Add config option to disable setting S_ISGID bit when creating installation directory. Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch>
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index cc51060eae..4e4b48296c 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -157,3 +157,7 @@ config:
# Has no effect on macOS. DO NOT MIX these within the same install tree.
# See the Spack documentation for details.
shared_linking: 'rpath'
+
+ # Set to 'false' to allow installation on filesystems that doesn't allow setgid bit
+ # manipulation by unprivileged user (e.g. AFS)
+ config:allow_sgid: true