diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-07-01 00:56:59 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-07-12 19:59:53 +0200 |
commit | 650786c81270889f154c577a3c74abd51108d856 (patch) | |
tree | f768da1f2ba1fb6878a21bc840b581f6cda2ea47 /.mailmap | |
parent | ab794fa7413d1650c1ba01ea18e74964877fdf99 (diff) | |
download | spack-650786c81270889f154c577a3c74abd51108d856.tar.gz spack-650786c81270889f154c577a3c74abd51108d856.tar.bz2 spack-650786c81270889f154c577a3c74abd51108d856.tar.xz spack-650786c81270889f154c577a3c74abd51108d856.zip |
locks: improve errors and permission checking
- Clean up error messages for when a lock can't be created, or when an
exclusive (write) lock can't be taken on a file.
- Add a number of subclasses of LockError to distinguish timeouts from
permission issues.
- Add an explicit check to prevent the user from taking a write lock on a
read-only file.
- We had a check for this for when we try to *upgrade* a lock on an RO
file, but not for an initial write lock attempt.
- Add more tests for different lock permission scenarios.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions