When creating or exporting an environment from the CA Identity Manager (IM) management console the system saves temporary files on the Linux server running jboss\ wildfly. If the user does not have sudo privileges it will not be able to write to the location and result in the "Permission denied" error.
To overcome this issue we suggest that you stop Jboss\wildfly and rerun as the 'root' user or a sudo user.