Correcting EPMAT-7:The user doesn't have write permissions to the current working directory and FileNotFoundException: .prefs (Access is denied) Errors

The error EPMAT-7:The user doesn't have write permissions to the current working directory or FileNotFoundException: .prefs (Access is denied) is displayed if you do not have write permission in the directory from which you execute EPM Automate. EPM Automate creates a .prefs file, which contains user information, and log files in the current directory.

On Windows computers, the contents of .prefs file is visible only to the user who created it and to Windows administrators. In Linux, UNIX and macOSX environments, .prefs file is generated with permission 600, which allows only the owner to read and write to it.

To resolve this error, ensure that the current user has read and write access to the directory from which EPM Automate is run. You do not have to run EPM Automate from the installation directory. You can run it from any directory on a local drive where you have read and write access. You cannot run EPM Automate from a mapped network drive.

Additionally, this user must have appropriate access to any other directory from which a file is accessed (for example, while running the uploadFile command) or written (for example, while running the downloadFile command).