[MacPorts] #36276: ghc-bootstrap requires root privileges?

MacPorts noreply at macports.org
Sat Sep 22 14:57:47 PDT 2012


#36276: ghc-bootstrap requires root privileges?
----------------------------+----------------------------
  Reporter:  mtb19@…        |      Owner:  kitchen.andy@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  ghc-bootstrap  |
----------------------------+----------------------------

Comment (by mtb19@…):

 Replying to [comment:3 cal@…]:
 > It seems this error is raised in
 source:trunk/base/src/port1.0/portinstall.tcl at 98020:61-68#L61. Since your
 UID and EUID are probably the same, I assume `file writable $prefix`
 fails. Can you check the permissions on your prefix?

 I ''think'' this is what you're asking, but please let me know if it's
 not:

 {{{
 % which port
 /.../ports/bin/port
 % python -c 'import os ; print "UID: %d; EUID: %d" % ( os.getuid(),
 os.geteuid() ) ;'
 UID: 501; EUID: 501
 % ls -dln "${HOME}/ports" "$(which port)"
 drwxrwsr-x@ 14 501  501     510 Jun 19 15:38 /.../ports
 -r-xr-xr-x   1 501  501  164651 Jul 25 11:54 /.../ports/bin/port
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36276#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list