we we try to deploy a file in production, we noticed file writable issue. To fix this issue we changed the file permission to read only and then tried to deploy the file but again deployment gets failed. When checked the logs it says cant deploy read only file. Please find the attached logs and help us to fix the issue.
Release : 13.0.3
Component : CA HARVEST SCM CORE FUNCTIONALITY/PROCESS AUTOMATION
where the “Can’t replace read only file” error message was reported and found the following causes:
- The “Replace Read Only Files” checkbox on the Checkout process properties was not checked. (we’ve already checked and eliminated this possibility)
- Access control list for a shared network drive was set such that the userid connecting to the Harvest agent did not have permission to replace files in the target folder.
- There was one very strange case where they had a file and a subfolder with the same name. Harvest couldn’t replace the file because of the folder.
- In one case they never did figure out why the problem was happening but decided to delete all files in the folder before running HRefresh every time to prevent the problem from happening.