diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-09T20·02+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-09T20·02+0000 |
commit | b17677462c56161bb00fb2d90f2c8e3e2a855229 (patch) | |
tree | ff983d26844986fe3e55fcdbb251cd8032fe5274 /src/nix-env/Makefile.am | |
parent | 5f681988f210dd8edbb0d13da7d00e1c0e2a1769 (diff) |
* Use lchown() instead of chown() in canonicalisePathMetaData(). This
matters when running as root, since then we don't use the setuid helper (which already used lchown()). * Also check for an obscure security problem on platforms that don't have lchown. Then we can't change the ownership of symlinks, which doesn't matter *except* when the containing directory is writable by the owner (which is the case with the top-level Nix store directory).
Diffstat (limited to 'src/nix-env/Makefile.am')
0 files changed, 0 insertions, 0 deletions