You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, we've found that it's enough to make the device have 0664 permissions. If you agree with that, it would be nice to update the instructions here so that we can link to them from our course.
I principle I agree with you that it would be better to avoid making the devices world-writable, however, I worry about users that have a different or somewhat incorrect group configuration.
I would add more guidance here at least.
What do you think @adamgreig ?
I'm not sure we need to even write 664 or just delete the MODE attribute entirely (I think 664 will be the default?). Removing world write access does make sense to me. Usually we'd either pug GROUP="plugdev" or TAG+="uaccess" in its place. I'm surprised that just 664 is enough without some other changes to ensure the user's in a group that can access the device or owns that device node. I don't think there's any harm having the plugdev group and uaccess tag added on systems that don't have them, either.
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
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.
This came out of a discussion in Comprehensive Rust: google/comprehensive-rust#608.
Basically, we've found that it's enough to make the device have
0664permissions. If you agree with that, it would be nice to update the instructions here so that we can link to them from our course.