Linux Server Discovery fails with "CI Pattern completed but failed some post-processing steps" due to /tmp directory permissionsIssue When running Discovery against a Linux Server, the CI is not updated, and the discovery status completes with a warning. The warning message displayed is: CI Pattern completed but failed some post-processing steps, Pattern name: Linux Server. In the Discovery Pattern Log, specifically under the Linux - Storage section (e.g., step 17.1 "Run storage script file"), a custom operation SSH script failure is observed: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Failed to execute SSH command using probe. WARNING: scp: /tmp/snc_[sys_id]_[sys_id]_[node]_1: Permission denied The Identification and Reconciliation Engine (IRE) payload processing shows the following error: MISSING_DEPENDENCY: In payload no relations defined for dependent class [cmdb_ci_lvm_pool_member] that matches any containment/hosting rules: [cmdb_ci_storage_pool <- Members <- cmdb_ci_storage_pool_member] Release All Releases Cause The SSH credential used by Discovery (typically a non-root user like srvuser) requires write access to the /tmp directory on the target host to securely copy (scp) and execute temporary collection scripts (such as storage.bash). If the target host has undergone OS-level hardening or the /tmp directory permissions have been altered (e.g., restricted to 755 (drwxr-xr-x) owned by root, instead of the standard 1777 (drwxrwxrwt)), the Discovery user is denied permission to create the snc_... temporary file in /tmp. Commands running natively via sudo (like dmidecode or dmsetup) may still succeed because they execute as root, but the initial storage script copy fails. Because the storage script cannot run, no disk or Logical Volume Manager (LVM) data is collected. LVM pool members are still discovered separately, but without their parent LVM pool in the payload, the IRE rejects them with a MISSING_DEPENDENCY error, which triggers the post-processing warning and prevents the CI from updating. Resolution To resolve this issue, work with the Linux Server Administration or Security teams to verify and restore standard permissions to the /tmp directory on the target host. Verify the current permissions: Check the target host's /tmp directory. It must allow the Discovery user to write files. ls -ld /tmp Restore standard permissions: Restore the world-writable permissions with the sticky bit applied: chmod 1777 /tmp (This sets the permissions to drwxrwxrwt, which is the standard setting). Verify orphaned files (Optional): Check if /tmp contains an existing file starting with snc_ that is owned by a different user. If it is owned by a different user and blocking writes, remove it. Re-run Discovery: Re-run a Quick Discovery against the target IP address. The storage script will now copy successfully, the LVM data will process correctly, and the CI will update without the IRE payload error.