Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v10.6.2] Install-HydrationEpac contains incorrect paths on case sensitive filesystems #776

Open
ewlidd opened this issue Oct 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ewlidd
Copy link

ewlidd commented Oct 15, 2024

Describe the bug
The hydration script refers to some paths in all-lowercase, where the foldernames are not.
References to hkDefinitions for example are incorrect with all lowercase "hkdefinitions".

To Reproduce
Steps to reproduce the behavior:
Run Install-HydrationEpac on a case sensitive filesystem

Screenshots

Get-Content: CENSORED/.local/share/powershell/Modules/EnterprisePolicyAsCode/10.6.2/functions/Install-HydrationEpac.ps1:149:24
Line |
 149 |  … ignment = $(Get-Content (Join-Path $StarterKit "hkdefinitions" "polic …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'CENSORED/StarterKit/hkdefinitions/policyAssignments/pci-dss4.jsonc' because it does not exist.

EPAC Version
10.6.2

@ewlidd ewlidd added the bug Something isn't working label Oct 15, 2024
@jeremiahhoward jeremiahhoward self-assigned this Oct 16, 2024
@jeremiahhoward
Copy link
Member

Good catch! I'll get this updated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants