wpa_supplicant: readd a patch, create user - #62014
Open
dkwo wants to merge 1 commit into
Open
Conversation
Duncaen
requested changes
Aug 14, 2026
| chmod 750 /etc/wpa_supplicant | ||
|
|
||
| chown -R root:_wpas /etc/wpa_supplicant/ | ||
| chmod -R u=rwX,g=rX,o= /etc/wpa_supplicant/ |
Member
There was a problem hiding this comment.
relative paths should be used in INSTALL scripts.
I'm also not the biggest fan of changing permissions of config files in INSTALL scripts.
Contributor
Author
There was a problem hiding this comment.
Done. But is there a better way?
Member
There was a problem hiding this comment.
File permissions are part of the packaged files and applied when extracted.
Member
There was a problem hiding this comment.
I think that setup needs a bit more consideration and precedence from other distributions, chowing *.conf also doesn't seem too nice.
I think its better to not mix this into a bug fix PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Without this patch, wifi connection fails in certain cases (e.g. pixel hotspot to macbook air).
Whille at it, also add an unpriviledge user
_wpas: this does nothing per se, but it makes life easier if you want to run the service unprivileged (otherwise permissions on conf files are rewritten at every update).