Changes between Version 8 and Version 9 of pmagrath
- Timestamp:
- Jun 27, 2008, 10:36:17 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pmagrath
v8 v9 42 42 Examine how we could drop root privileges for building. So we still run port using sudo, but for the actual building root privileges are dropped and the configure/build phase runs with the privileges of the current user only (or of some new unprivileged macports user?). Of course this needs investigation how the permissions inside the workpath need to be set to accomplish this. 43 43 44 ''Most actions are now performed using user privileges, up to and including the destroot stage. For install, the original root privileges are recovered and the install takes place as per usual. To the user, this is seamless and the only difference is that the build files get put in ~/.macports/opt rather than /opt. T ODO: replace hardcoded username with one specifically created for macports or (specified for macports) during MacPorts install.''44 ''Most actions are now performed using user privileges, up to and including the destroot stage. For install, the original root privileges are recovered and the install takes place as per usual. To the user, this is seamless and the only difference is that the build files get put in ~/.macports/opt rather than /opt. The user account to use when privileges are dropped can be set in macports.conf post-install or with the --with-macports-user=USER option on the ./configure switch. The default value is the user who installs MacPorts.'' 45 45 46 46 ==== Install MacPorts in your home directory easily ====