
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
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
# -------------------------------------------------------------------------
|
|
# This file controls default concretization preferences for Spack.
|
|
#
|
|
# Settings here are versioned with Spack and are intended to provide
|
|
# sensible defaults out of the box. Spack maintainers should edit this
|
|
# file to keep it current.
|
|
#
|
|
# Users can override these settings by editing the following files.
|
|
#
|
|
# Per-spack-instance settings (overrides defaults):
|
|
# $SPACK_ROOT/etc/spack/packages.yaml
|
|
#
|
|
# Per-user settings (overrides default and site settings):
|
|
# ~/.spack/packages.yaml
|
|
# -------------------------------------------------------------------------
|
|
packages:
|
|
all:
|
|
compiler: [gcc, intel, pgi, clang, xl, nag]
|
|
providers:
|
|
D: [ldc]
|
|
awk: [gawk]
|
|
blas: [openblas]
|
|
daal: [intel-daal]
|
|
elf: [elfutils]
|
|
gl: [mesa, opengl]
|
|
glu: [mesa-glu, openglu]
|
|
golang: [gcc]
|
|
ipp: [intel-ipp]
|
|
java: [jdk]
|
|
jpeg: [libjpeg-turbo, libjpeg]
|
|
lapack: [openblas]
|
|
mkl: [intel-mkl]
|
|
mpe: [mpe2]
|
|
mpi: [openmpi, mpich]
|
|
opencl: [pocl]
|
|
openfoam: [openfoam-com, openfoam-org, foam-extend]
|
|
pil: [py-pillow]
|
|
pkgconfig: [pkgconf, pkg-config]
|
|
scalapack: [netlib-scalapack]
|
|
szip: [libszip, libaec]
|
|
tbb: [intel-tbb]
|
|
unwind: [libunwind]
|
|
permissions:
|
|
read: world
|
|
write: user
|