Permission denied error received when performing Reconcile task

Permission denied error received when performing Reconcile task

143
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:02 PM


Symptom


When perform change or reconcile task, CPM produces permission denied error for non-Windows accounts.

Example seen when debug log level is enabled:

Error: couldn't open "pmterminal-<policy ID>-<ip address>": permission denied. State: "StartCommit". Action: "pmterminal-<policyId>-<address>"

The following can be seen in Procmon when reproducing the issue:

8/30/2019 2:57:58 PM 00:01:27.4669419 PMTerminal.exe 133496 CreateFile C:\Program Files (x86)\CyberArk\Password Manager\pmterminal-<policy ID>-<ip address> ACCESS DENIED
Desired Access: Generic Read/Write, Disposition: OverwriteIf, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write,
AllocationSize: 0 4 <hostname>\PasswordManagerUser 00000000:1d6909f6 0 133640 False High 139824
C:\Program Files (x86)\CyberArk\Password Manager\bin\PMTerminal.exe ".\bin\PMTerminal.exe" "C:\Program Files (x86)\CyberArk\Password Manager\tmp\<object name>.ini" reconcilepass

 


Environment


10.8;10.9;10.10 Component: Central Policy Manager (CPM) Functional Area: Other

Cause


This error refers to the service account, PasswordManagerUser (account used for CPM windows service), does not have write permission the tmp folder in the CPM installation directory. 

Resolution


1.Manually apply permission to PasswordManagerUser
  • Right click on PasswordManager folder and click on Properties
  • Click on Security Tab and the click on Advanced
  • Click on Replace all child object permission entries with inheritable permissions entries from this object
  • Click on Apply.
  • Click on Continue when it is not able to apply for certain files.
  • After the permissions have been cascaded to sub folders, check the effective permission for PasswordManagerUser for the Tmp folder. 
  • Test password change again.
2. Rerun the hardening script


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000sN4CAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail