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) - Saturday, 18 September 2021, 15:13 GMT
Task Type Improvement
Category ports
Status New
Assigned To No-one
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.6
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


On 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