[MacPorts] #68703: Permission denied when running sudo port install gimp-resynthesizer

MacPorts noreply at macports.org
Tue Nov 14 22:31:01 UTC 2023


#68703: Permission denied when running sudo port install gimp-resynthesizer
---------------------------------+--------------------
  Reporter:  bongserrano         |      Owner:  (none)
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:
Resolution:                      |   Keywords:
      Port:  gimp-resynthesizer  |
---------------------------------+--------------------
Changes (by ryandesign):

 * type:  request => defect
 * port:   => gimp-resynthesizer


Old description:

> I get this error when running
>
> {{{
> sudo port install gimp-resynthesizer
> }}}
>
> Error: Unable to execute port: couldn't open
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_graphics_gimp-resynthesizer/gimp-
> resynthesizer/work/.macports.gimp-resynthesizer.state": permission denied
>
> I checked my dir and see no /opt/local/var/macports/
>
> Please help!

New description:

 I get this error when running

 {{{
 sudo port install gimp-resynthesizer
 }}}

 {{{
 Error: Unable to execute port: couldn't open
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_gimp-resynthesizer/gimp-
 resynthesizer/work/.macports.gimp-resynthesizer.state": permission denied
 }}}

 I checked my dir and see no /opt/local/var/macports/

 Please help!

--

Comment:

 The MacPorts installers sets the invisible bit on /opt/local/var/macports
 so you won't see it in the Finder (unless you tell the Finder to show
 invisible items) but of course you can access it via the Finder's Go to
 Folder menu item or in the Terminal.

 Permission should, of course, not be denied if you used `sudo`.

-- 
Ticket URL: <https://trac.macports.org/ticket/68703#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list