Cybersecurity
DevOps Cloud
IT Operations Cloud
OpenText product name changes coming to the community soon! Learn more.
This article addresses a common issue encountered in Dimensions CM Desktop Client, specifically when a SecurityException is raised during the build process. The error is related to read/write access being denied for files in specific directories. The cause of this issue lies in path manipulation security protections introduced in Dimensions CM version 14.6.
Dimensions CM 14.6/14.7
When running a build project in the Desktop Client with the option to download all files to the work area, the files are not downloaded, and the following errors occur in the build log:
DMN4510064E Error: A runtime exception occurred (SecurityException: read/write access is denied for: /sw/serena/microfocus/dimensions/14.7/common/tomcat/9.0/temp/filename.txt) DMN4510003E Error: Failed to execute RPC 116 ACL4501291E Error: RPC execution failed - 116 (RFOPENREADCLOSE), "Error: RPC execution failed." COR4501246E Error: /sw/serena/microfocus/dimensions/14.7/common/tomcat/9.0/temp/filename.txt: I/O error PCM0005600E Error: Cannot open file for reading. Could not open output file (download).
This issue arises due to path manipulation security protection introduced in Dimensions CM 14.6. This feature restricts access to certain server paths by the Dimensions CM Java API. If not properly configured, it results in a SecurityException, preventing users from reading or writing files.