Skip to content

refactor: use udev native way to set the subsystem group and permissions - #63

Open
ascend238 wants to merge 1 commit into
sidevesh:mainfrom
ascend238:patch-1
Open

ascend238 wants to merge 1 commit into
sidevesh:mainfrom
ascend238:patch-1

Conversation

@ascend238

Copy link
Copy Markdown

It is brittle to manually set a subsystem's group and permissions using the absolute paths to chgrp and chmod. For instance, on Fedora, chgrp and chmod reside in /usr/bin rather than /bin. Moreover, it will remove the attack surface for attacks such as https://attack.mitre.org/techniques/T1546/017/.

It is brittle to manually set a subsystem's group and permissions using the absolute paths to `chgrp` and `chmod`. For instance, on Fedora, `chgrp` and `chmod` reside in `/usr/bin` rather than `/bin`. Moreover, it will remove the attack surface for attacks such as https://attack.mitre.org/techniques/T1546/017/.
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.

1 participant