Closed
Description
It's probably wrong to run stack as root, at least in almost all cases. This came up in another thread: #464 (comment)
- Are there any use cases for running stack as root? (maybe in the docker stuff?)
- If there are, but there are very few cases, perhaps stack should error out if it's run as root, but proceed if an explicit envvar or parameter is passed? (STACK_ROOT=true or whatever)
- if there are, and they are somewhat common, perhaps stack should simply print a warning when run as root, but proceed?
Metadata
Metadata
Assignees
Labels
No labels