[MacPorts] #39850: Sandbox denies access when prefix/portdbpath not normalised

MacPorts noreply at macports.org
Tue Jul 30 21:21:25 PDT 2013


#39850: Sandbox denies access when prefix/portdbpath not normalised
-------------------------+--------------------------------
  Reporter:  jwhowse4@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.2.0
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------

Comment (by larryv@…):

 Replying to [comment:26 joemirizio@…]:
 > Experiencing this same issue with a subset of ports I was upgrading.
 > Most installed fine, but others failed during the extraction.

 Do the ones that work get installed via binary archive?

 > Example:
 > {{{
 > :debug:extract Executing command line:  cd
 "/opt/local/var/macports/build/_private_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_git-core/git-core/work" && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/git-core/git-1.8.3.4.tar.gz' |
 /usr/bin/gnutar --no-same-owner -xf -
 > :info:extract /usr/bin/gnutar: git-1.8.3.4: Cannot mkdir: Operation not
 permitted
 > }}}
 >
 > I am running 10.6 (v2.2.0) and my prefix is ''not'' symlinked.

 Can you describe your setup, then? Why does the build directory in your
 example start with `_private_opt_local`?

 > After adding {{{sandbox_enable no}}} to my {{{macports.conf}}}, it
 > seemed to work. What does this option do?

 It does [[source:tags/release_2_2_0/base/ChangeLog#L50|what it says on the
 tin]].

-- 
Ticket URL: <https://trac.macports.org/ticket/39850#comment:27>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list