spack/lib/spack
Todd Gamblin 650786c812 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.
2018-07-12 19:59:53 +02:00
..
docs fetch: remove 'trying' when cloning repos (#8651) 2018-07-10 10:22:51 -05:00
env Add ccache support (#3761) 2018-07-09 14:06:10 -07:00
external pytest: add _pytest/_version.py and LICENSE 2018-06-20 14:35:10 -05:00
llnl locks: improve errors and permission checking 2018-07-12 19:59:53 +02:00
spack locks: improve errors and permission checking 2018-07-12 19:59:53 +02:00