diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-05 21:41:44 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-05 21:41:44 -0400 |
commit | b6c989b80198badf5f694340c07abc282365aaec (patch) | |
tree | e5fe60a3a274959394d2c1fdb99a597dec22973a /src/libstore/misc.cc | |
parent | 108e14bb189fd0fb291d3494f9f3915070a7052e (diff) |
Fix race condition when two processes create a hard link to a file in .links
This is a problem because one process may set the immutable bit before
the second process has created its link.
Addressed random Hydra failures such as:
error: cannot rename `/nix/store/.tmp-link-17397-1804289383' to
`/nix/store/rsvzm574rlfip3830ac7kmaa028bzl6h-nixos-0.1pre-git/upstart-interface-version':
Operation not permitted
Diffstat (limited to 'src/libstore/misc.cc')
0 files changed, 0 insertions, 0 deletions