[MacPorts] #26463: investigate permature permissions dropped in mdmg
#26463: investigate permature permissions dropped in mdmg ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ------------------------------+--------------------------------------------- The past couple days I've been trying to make an mdmg for pspp-devel. It errors out with a permissions message when working with Xft2 (see attached debug log): {{{ Error: Target org.macports.mpkg returned: can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xft2": permission denied }}} I've run clean on Xft2 and retried but it doesn't make any impact. Is it base's fault or is something else going on? -- Ticket URL: <http://trac.macports.org/ticket/26463> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26463: investigate permature permissions dropped in mdmg ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ------------------------------+--------------------------------------------- Comment(by snc@…): Since Xft2 is the first dependency it might be that some directory that contains its working directory might not exist prior to the pkg creation. That is, I can skip the issue by running `sudo port pkg Xft2` and then `sudo port mpkg pspp-devel`. Perhaps the creation of the full path for the working directory needs permissions that are being dropped. -- Ticket URL: <http://trac.macports.org/ticket/26463#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26463: investigate permature permissions dropped in mdmg ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ------------------------------+--------------------------------------------- Comment(by snc@…): You'll also notice that after successfully doing mpkg, there's another permissions issue when creating the disk image: {{{ /opt/local/var/macports/build/_Users_aeetes_math_pspp-devel/work/pspp- devel-0.7.5.mpkg: Authentication error hdiutil: create failed - Permission denied }}} That error is the cause of the return code 1. Rerunning the same command with sudo is successful. -- Ticket URL: <http://trac.macports.org/ticket/26463#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26463: investigate premature permissions dropped in mdmg ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.99 Keywords: | Port: ------------------------------+--------------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/26463#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26463: mpkg target needs to regain root privileges before running pkg target on dependencies -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.99 Resolution: fixed | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: It's not premature privilege dropping, the mpkg target is just weird. r72237 -- Ticket URL: <https://trac.macports.org/ticket/26463#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts