All GitHub CI jobs are failing: Could not open file

Joshua Root jmr at macports.org
Thu Oct 30 02:01:54 UTC 2025


On 30/10/2025 12:26, Aaron Madlon-Kay wrote:
> I'm having the same issue locally with my local port source. Is this
> intended given the changes to permissions handling? It seems to make
> managing an additional, local source quite difficult.

It has always been intended that the macports user have minimal 
privileges. That means it can't read your files unless you give it 
permission.

> [ls of portfile]
> -rw-r--r--  1 aaron.madlon.kay  staff  3465 Oct 30 10:12
> /Users/aaron.madlon.kay/Code/MacPorts/devel/gradle/Portfile
All parent directories also need to have appropriate permissions. Adding 
o+x should suffice I think. That does give search permission on your 
home directory to everyone, not just macports, of course. Alternatives 
include putting the repo somewhere outside your home directory, or using 
ACLs.

- Josh


More information about the macports-dev mailing list