Opened 8 years ago

Closed 7 years ago

#50857 closed enhancement (duplicate)

Warning if launched as non root

Reported by: fabriziomazzoni (Fabrizio Mazzoni) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc:
Port:

Description

I think it would be great to add a warning message if port is launched as a non root user. I use a lot the root user without sudo (even though the practice is questionable). If I forget to go root or add sudo port selfupdate will fail with macports::selfupdate [array get global_options] base_updated. Adding a warning such as "Cannot run port as a normal user! please use sudo or login as the root user!" would be helpful as I have already seen people posting this issue on stackoverflow.

Change History (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Component: portsbase

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.