Changes between Version 13 and Version 14 of pmagrath


Ignore:
Timestamp:
Aug 6, 2008, 7:52:17 PM (16 years ago)
Author:
pmagrath@…
Comment:

Status update.

Legend:

Unmodified
Added
Removed
Modified
  • pmagrath

    v13 v14  
    3232
    3333==== Privilege Escaltion ====
    34 I would feel that the best behavior for if MacPorts is requested to perform a privileged operation for a port, if it currently has no privileged access would be for the user to be given the choice of elevating privileges (by evoking sudo), installing in a fakeroot or aborting. The complications are that there is currently no way of knowing whether a port needs privileges, creating a fakeroot mechanism, cleanly elevating and de-elevating privileges.
     34I would feel that the best behavior for if MacPorts is requested to perform a privileged operation for a port, if it currently has no privileged access would be for the user to be given the choice of elevating privileges (by evoking sudo), or aborting.
     35
     36''This has now been largely implemented. A special flag is now thrown ($errorisprivileges) when a port install (or other action) fails due to insufficient privileges. MacPorts will then assemble a sudo command to complete the action with and execute it, prompting the user to enter his/her password to do so.''
    3537
    3638==== MacPorts Group ====