summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-10-17 18:38:23 -0700
committerscheibelp <scheibel1@llnl.gov>2017-10-17 18:38:23 -0700
commitad5fb40d75d5e89517dc7c18b95e3ccb87e2e195 (patch)
tree09dc00605536096801dc7e652e7a2ef6300ff453 /.coveragerc
parent464e558aeacfca0c4547ad24b895fc29e5f4bf5e (diff)
downloadspack-ad5fb40d75d5e89517dc7c18b95e3ccb87e2e195.tar.gz
spack-ad5fb40d75d5e89517dc7c18b95e3ccb87e2e195.tar.bz2
spack-ad5fb40d75d5e89517dc7c18b95e3ccb87e2e195.tar.xz
spack-ad5fb40d75d5e89517dc7c18b95e3ccb87e2e195.zip
perl: add write permissions to update config files (#5746)
Perl installs a couple of config files that need to be munged so that they don't refer to the spack compiler. These files are installed read-only. Behind the scenes 'filter_file' moves its file to a safe place, and tries to create a working file that is both O_WRONLY and has the perms of the original file. On an NFSv4 filesystem, the combination of 'r--r--r--' and O_WRONLY throws a permissions error. This commit adds a simple context manager that temporarily makes the files writable.
Diffstat (limited to '.coveragerc')
0 files changed, 0 insertions, 0 deletions