Skip to content

Conversation

ruomeiy-splunk
Copy link
Contributor

No description provided.

@ruomeiy-splunk ruomeiy-splunk requested a review from a team as a code owner July 14, 2025 15:54
ignore_errors: true

- name: Write path into .bash_profile
# TODO: will run into issues as it breaks Windows icacls permissions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a plan to address this issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I plan to address this part along with https://splunk.atlassian.net/browse/INFRA-43925, whoever takes that ticket, I can just copy the solution. Let me comment out this part for now

Did some quick search on it though, cygwin breaking windows file permissions seems to be a common issue. The ansible equivalent module for lineinfile is win_lineinfile , I gave it a try but got some errors, it's expecting to be executed in a Powershell environment (not cygwin). We might need to go as far as creating a powershell script, read icacls permissions, update the file, rewrite back the icacls permissions...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants