https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103043
Bug ID: 103043 Summary: gfortran can not write to files (macOS Monterey GCC 11.2.0) Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gccbug at duemmels dot de Target Milestone: --- Hi, I have installed (with homebrew) gcc on my MacPro. From gcc I use gfortran (GNU Fortran (Homebrew GCC 11.2.0) 11.2.0), which worked fine so far. But when I "unfortunately " made the update to macOS Monterey, there were several nasty surprises. The worst is that programs compiled with gfortran no longer write to files, the files just stay empty without error message. Output to the screen works, but redirecting (>) to a file does not work either. It must be due to security measures in Monterey, in my estimation. Does anyone have an idea what could be going on and what can be done about it? many thanks Thomas