[MacPorts] #24687: port command unnecessarily requires permissions to the cwd
#24687: port command unnecessarily requires permissions to the cwd ----------------------------+----------------------------------------------- Reporter: kpreid@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: base | Version: 1.8.2 Keywords: | Port: ----------------------------+----------------------------------------------- I run MacPorts as a non-root user, so when I want to install something I su to the MacPorts user. Doing this in a new shell (since the cwd is ~me) results in the cwd being unreadable to that user. All port commands will then fail with the error {{{ error getting working directory name: permission denied while executing "pwd" invoked from within "set current_portdir [pwd]" (file "/Stuff/ports/bin/port" line 3686) }}} I assume that this is due to MacPorts' support for installing a port from the current directory. It would be nice if it only looked at the cwd if it's actually been told to install from there, or if that is not possible, then if it would catch the error now and only complain later if the cwd is needed. -- Ticket URL: <http://trac.macports.org/ticket/24687> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24687: port command unnecessarily requires permissions to the cwd ----------------------------+----------------------------------------------- Reporter: kpreid@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: base | Version: 1.8.2 Keywords: | Port: ----------------------------+----------------------------------------------- Changes (by ryandesign@…): * cc: kpreid@… (removed) -- Ticket URL: <http://trac.macports.org/ticket/24687#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24687: port command unnecessarily requires permissions to the cwd ----------------------------+----------------------------------------------- Reporter: kpreid@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: base | Version: 1.8.2 Keywords: | Port: ----------------------------+----------------------------------------------- Changes (by and.damore@…): * cc: kpreid@… (removed) Comment: As reporter you don't need to add yourself to cc recipients' list. -- Ticket URL: <https://trac.macports.org/ticket/24687#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts