Welcome to CRUX bug tracking.
FS#1852 - ports(8):update_ports(): do not check for id -u = 0
Attached to Project:
CRUX
Opened by Steffen Nurpmeso (steffen) - Saturday, 27 February 2021, 18:03 GMT
Last edited by Tim Biermann (tb) - Wednesday, 31 August 2022, 18:57 GMT
Opened by Steffen Nurpmeso (steffen) - Saturday, 27 February 2021, 18:03 GMT
Last edited by Tim Biermann (tb) - Wednesday, 31 August 2022, 18:57 GMT
|
DetailsOn my box this was always false, and i used fakeroot to cross that test.
Now i switched to an unshare(1) containment, and it would be much nicer if the test would just vanish. For now commented out, but truly meaningless and complicating that box stuff (here). # if [ "`id -u`" != "0" ]; then # echo "$COMMAND: only root can update ports" # exit 1 # fi |
This task depends upon
Closed by Tim Biermann (tb)
Wednesday, 31 August 2022, 18:57 GMT
Reason for closing: Won't implement
Wednesday, 31 August 2022, 18:57 GMT
Reason for closing: Won't implement
Please just remove that test