Informix Error -8013: An error occurred when an attempt was made to open the listing file filename. Be certain that the user has write permissions in the current directory.
Cause and resolution
An error occurred when an attempt was made to open the listing file filename. Be certain that the user has write permissions in the current directory.
Ensure that your account has write access to the current directory. If a file filename already exists, check that your account has write access to it.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-8013 fires when the ACE compiler can't open its listing file — per the official guidance.
- No write access to the current directory, per the official guidance — the first named cause.
- A file of that name already existing without write access, per the official guidance — the second named cause.
Solutions / Resolution
- Ensure the account has write access to the current directory, per the official guidance.
- If a file of that name already exists, check that the account has write access to it, per the official guidance.
Examples
Checking current-directory write access
$ ls -ld .
Diagnostic Checks
- Check write permission on the current directory and on any pre-existing listing file of that name.
Related Errors / Related Topics
- -8010 — "The file filename could not be opened. The operating system was asked to open it for writing..." A related file-open-for-writing failure, for a general output file rather than specifically the listing file.
The ACE compiler's listing file couldn't be opened — check write permission on the current directory and any existing file of that name.