Changes between Version 11 and Version 12 of pmagrath


Ignore:
Timestamp:
Jul 2, 2008, 9:15:34 AM (16 years ago)
Author:
pmagrath@…
Comment:

Add use cases.

Legend:

Unmodified
Added
Removed
Modified
  • pmagrath

    v11 v12  
    7272[http://thread.gmane.org/gmane.os.opendarwin.darwinports/16973/focus=17026]
    7373
    74 == Tickets ==
    75 === [query:reporter=pmagrath@macports.org Reported Tickets] ===
    76 [[TicketQuery(reporter=pmagrath@macports.org&status=new|assigned|reopened, table)]]
    77 === [query:owner=pmagrath@macports Assigned Tickets] ===
    78 [[TicketQuery(owner=pmagrath@macports.org&status=new|assigned|reopened)]]
    79 === [query:cc=pmagrath@macports On CC] ===
    80 [[TicketQuery(cc~=pmagrath@macports.org&status=new|assigned|reopened)]]
     74=== Use Cases ===
     75Use Case 1:
     76Current Situation with privilege descalation. Prefix is /opt/local. Root owns prefix. Root privileges needed to fetch, compile, build and install. Drop privileges when not needed.
     77
     78Use Case 2:
     79--with-no-root-privileges. Prefix is usually ~/.macports/opt/local (must be specified with --prefix). User owns prefix. No root privileges needed. Ports requiring root privileges (new user accounts, daemons etc.) cannot be installed without a sudo. It is necessary to use a --prefix with --with-no-root-privileges as the default --prefix isn't modified from /opt/local when --with-no-root-privileges is specified.
     80
     81Use Case 3:
     82--with-shared-directory. Prefix is /opt/local. Root owns prefix but shares full read write with a macports group. All members of macports group can install all packages that only effect the /opt/local hierarchy. Root privileges only needed for installs that effect directories outside the prefix. Drop privileges when not needed.
     83
    8184
    8285[wiki:MacPortsDevelopers Back to the MacPorts developers page]