[MacPorts] #50109: Migrating Macports for El Capitan- reinstalling ports fails (permission denied)
#50109: Migrating Macports for El Capitan- reinstalling ports fails (permission denied) ----------------------------+-------------------------------- Reporter: nilou.fgh.60@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: El Capitan | Port: ----------------------------+-------------------------------- Hi, I have upgraded my MacBook Pro Retina from OS X Yosemite to OS X El Capitan. I used MacPorts version 2.3.4 with OS X Yosemite and it is installed on my Mac. Xcode 7.2 and the command line developer tools are installed. Following the instructions to upgrade MacPorts, I tried to save the list of the installed ports: (port -qv installed > myports.txt) but apparently the permissions of myports.txt do not allow to change the file. Do I simply change the permissions of myports.txt or is it due to a deeper issue? Many thanks, Nilou. -- Ticket URL: <https://trac.macports.org/ticket/50109> MacPorts <https://www.macports.org/> Ports system for OS X
#50109: Migrating Macports for El Capitan- reinstalling ports fails (permission denied) -----------------------------+-------------------------------- Reporter: nilou.fgh.60@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: | -----------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: El Capitan => elcapitan * type: update => defect Comment: Can you show us the exact transcript of what commands you typed and what error you got? -- Ticket URL: <https://trac.macports.org/ticket/50109#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50109: Migrating Macports for El Capitan- reinstalling ports fails (permission denied) -----------------------------+-------------------------------- Reporter: nilou.fgh.60@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: | -----------------------------+-------------------------------- Comment (by nilou.fgh.60@…): Following (https://trac.macports.org/wiki/Migration) I typed port -qv installed > myports.txt and got myports.txt: Permission denied. Just tried it again from my home directory and do not get the message. The Permission denied message is when I run the command from the "/opt/local/etc/macports/" directory. -- Ticket URL: <https://trac.macports.org/ticket/50109#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50109: Migrating Macports for El Capitan- reinstalling ports fails (permission denied) -----------------------------+-------------------------------- Reporter: nilou.fgh.60@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: elcapitan Port: | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Ok, that's completely normal. The command "port -qv installed > myports.txt" creates a file myports.txt in the current directory, so you need to have write permission in the current directory. /opt/local/etc/macports is not a directory where normal users have write permission, so that should not be your current directory when you run the command. Being in your home directory is a good choice. -- Ticket URL: <https://trac.macports.org/ticket/50109#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts