From d1a5113cfed76fb8d4935bb90f83560f231942cb Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Thu, 11 Oct 2018 14:29:07 -0700 Subject: permissions: add permission configuration to packages.yaml (#8773) Spack can now be configured to assign permissions to the files installed by a package. In the `packages.yaml` file under `permissions`, the attributes `read`, `write`, and `group` control the package permissions. These attributes can be set per-package, or for all packages under `all`. If permissions are set under `all` and for a specific package, the package-specific settings take precedence. The `read` and `write` attributes take one of `user`, `group`, and `world`. packages: all: permissions: write: group group: spack my_app: permissions: read: group group: my_team --- etc/spack/defaults/packages.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/spack/defaults/packages.yaml b/etc/spack/defaults/packages.yaml index 961fb157f0..5c38ddb683 100644 --- a/etc/spack/defaults/packages.yaml +++ b/etc/spack/defaults/packages.yaml @@ -40,4 +40,6 @@ packages: szip: [libszip, libaec] tbb: [intel-tbb] unwind: [libunwind] - + permissions: + read: world + write: user -- cgit v1.2.3-70-g09d2