Opened 9 years ago

Closed 9 years ago

#50503 closed defect (invalid)

package installer doesn't install port for root user

Reported by: phillipao@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description

Installing on El Capitan 10.11.3. I have successfully installed macports version 2.3.4. But it's only present for my login user, not root. Without root, I can't perform selfupdate. The solution may be as simple as adding the location of port to root's PATH. But if that step is required for normal operation (as appears to be the case), I want the package installer to do that for me.

Change History (1)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Component: portsbase
Resolution: invalid
Status: newclosed

You're not meant to use root; you're meant to use sudo from your normal admin user account.

The installer is currently designed to modify the PATH in the shell startup file of only one user: the normal admin user who ran the MacPorts installer. If you want other users' PATHs modified, you have to do it yourself.

Note: See TracTickets for help on using tickets.