[37794] branches/gsoc08-privileges/base/src/port1.0

Daniel J. Luke dluke at geeklair.net
Mon Jun 23 12:18:12 PDT 2008


On Jun 23, 2008, at 2:58 PM, pmagrath at macports.org wrote:
> Revision37794Authorpmagrath at macports.orgDate2008-06-23 11:58:48  
> -0700 (Mon, 23 Jun 2008)Log Message
> 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.


That's pretty neat, but doesn't destroot need to be root as well (so  
that ownership/permissions can be set appropriately there?)

As an example, the procmail port usese the 'install-suid' target which  
would set the suid bit on the procmail binary as it's staged in the  
destroot.

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20080623/f7b1d11b/attachment.sig 


More information about the macports-dev mailing list