[MacPorts] #15930: Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied
#15930: Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied ----------------------------------+----------------------------------------- Reporter: batchelordb@ornl.gov | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ----------------------------------+----------------------------------------- This is my first attempt to install a port. Things like "port list", "port search" and "port info" work fine. What I tried was: ~ $ port install -v pgplot +darwin_i386 +aqt +demos and what I got was: Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied I guess the permissions are set wrong. But I hesitate to tinker with them since the /opt directory and its subdirectories are installed by MacPorts. I looked in FAQ but didn't find anything. -- Ticket URL: <http://trac.macports.org/ticket/15930> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15930: Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied -----------------------------------+---------------------------------------- Reporter: batchelordb@ornl.gov | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Low | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by pmagrath@macports.org): * priority: Normal => Low * type: defect => enhancement * component: ports => base * milestone: => MacPorts base enhancements Comment: As per http://guide.macports.org/#using.port.install, you need to run port install commands with sudo. So, "sudo port install -v pgplot +darwin_i386 +aqt +demos". Maybe this should be made clear in the error message when port install is invoked and runs into permissions errors like this? -- Ticket URL: <http://trac.macports.org/ticket/15930#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15930: Error: Unable to execute port: can't create directory "/opt/local/var/macports/build": permission denied -----------------------------------+---------------------------------------- Reporter: batchelordb@ornl.gov | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Low | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Resolution: invalid | Keywords: -----------------------------------+---------------------------------------- Changes (by febeling@macports.org): * status: new => closed * resolution: => invalid Comment: I think we should simply close such issues, it should be reasonably clear that you need superuser rights to install software, and for shell commands that's sudo. -- Ticket URL: <http://trac.macports.org/ticket/15930#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts