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

feat: Add ability to change the permissions of the sensor file #484

Closed
wants to merge 1 commit into from
Closed

feat: Add ability to change the permissions of the sensor file #484

wants to merge 1 commit into from

Conversation

dhoppe
Copy link

@dhoppe dhoppe commented Apr 5, 2024

This has already been tested, setting the variable falcon_api_sensor_download_mode to 0644.

Before:

TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Copy Sensor Installation Package to remote host (non-windows)] *******************************************************
fatal: [i-0da31599f96a90199_asg-metadefender-image-ubuntu22-mdtest-202404050828]: FAILED! =>
  msg: 'an error occurred while trying to read the file ''/var/tmp/falcon-sensor_7.13.0-16604_amd64.deb'': [Errno 13] Permission denied: b''/var/tmp/falcon-sensor_7.13.0-16604_amd64.deb''. [Errno 13] Permission denied: b''/var/tmp/falcon-sensor_7.13.0-16604_amd64.deb'''

After:

TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Permissions of Falcon Sensor Installation Package (local)] ***********************************************************
changed: [i-0da31599f96a90199_asg-metadefender-image-ubuntu22-mdtest-202404050828 -> localhost]

TASK [crowdstrike.falcon.falcon_install : CrowdStrike Falcon | Copy Sensor Installation Package to remote host (non-windows)] *******************************************************
ok: [i-0da31599f96a90199_asg-metadefender-image-ubuntu22-mdtest-202404050828]

Fixes: #481

@carlosmmatos
Copy link
Contributor

Closing in favor of #485

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.

[falcon_install] Add ability to change permissions of the downloaded Falcon Sensor Installer
2 participants