Unable to execute port: Could not open file

Joshua Root jmr at macports.org
Mon Aug 13 18:47:24 UTC 2018


> jjohnston at sd-jjohnston-03 /opt/local/var $ ls -lha
> /opt/local/var/macports/sources/
> rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile
> -rw-r--r--  1 root  505   3.7K Jul 19 19:19 /opt/local/var/macports/sources/
> rsync.macports.org/macports/release/tarballs/ports/sysutils/coreutils/Portfile

The permissions on the file itself are indeed fine, but check the
permissions on the enclosing directories, particularly /opt since it
sounds like that's the one thing you haven't changed. You need rx for
all users all the way down.

- Josh


More information about the macports-users mailing list