Fortran · Runtime error

Error 9: Permission to access file denied

What does Error 9: Permission to access file denied mean in Fortran?

The OPEN statement was denied access to the file by the operating system's file permissions, or the resource was otherwise unavailable.

Error 9: Permission to access file deniedIntel Fortran · gfortran

Condition

The OPEN statement was denied access to the file by the operating system's file permissions, or the resource was otherwise unavailable.

Fix

Check the file's permissions and confirm the process has read or write access to the directory involved, not just the file itself.

Pending source verification. Not yet checked against official documentation.

Related runtime error