-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
The install.bash script provided with PE (at least version 2021.7.8) creates symlinks in /usr/local/bin to targets that might not actually exist, resulting in broken links. This results in symlink permissions being evaluated instead of target permissions, which in turn triggers a finding in STIG checks such as: find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /022 -exec ls -l {} ;
Expected Behavior
The function inside the install.bash script that creates symlinks should only create those links if the target exists.
Steps to Reproduce
Steps to reproduce the behavior:
- On a non PE server run: curl -k https://pe_master.example.com:8140/packages/current/install.bash | sudo bash
- Once complete, run: ls -l /usr/local/bin/ and observe broken symlink
Environment
- Version 2021.7.8
- Platform RHEL-8
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working