Changes between Initial Version and Version 1 of Ticket #62228, comment 8
- Timestamp:
- Feb 6, 2021, 4:42:28 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62228, comment 8
initial v1 6 6 It's almost certainly a combination of using a build user and then running destroot as root. The weird part is that we are supplying `--allow-different-user`, which should enable sharing. `${workpath}/.stack` is created as the `macports` user, so it does (initially) have write permissions there. 7 7 8 The weirdest part is that it's ignoring `STACK_ROOT=${workpath} .stack` when running as **root** in the destroot phase (and falling back to `${HOME}/.stack`, a.k.a. `${workpath}/.home/.stack` instead), which... just doesn't make sense to me.8 The weirdest part is that it's ignoring `STACK_ROOT=${workpath}/.stack` when running as **root** in the destroot phase (and falling back to `${HOME}/.stack`, a.k.a. `${workpath}/.home/.stack` instead), which... just doesn't make sense to me. 9 9 10 10 You've put me on the right track, though, I think, since most files in `${workpath}/.stack` seem to be owned by root instead of macports. They also are newer than the ones in `${workpath}/.home/.stack`, which are owned by macports only, so maybe I just confused the two directories.