-
Notifications
You must be signed in to change notification settings - Fork 567
docs: Update example in chapter 8 to use sudo #263
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
Conversation
82b7652
to
019ba02
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read https://cbea.ms/git-commit/ carefully and refine.
019ba02
to
d054d61
Compare
I actually wrote my initial commit message after carefully reviewing the content from the link you provided (https://cbea.ms/git-commit/), and also referred to https://www.freecodecamp.org/news/how-to-write-better-git-commit-messages/ for adding a to the title. However, I couldn't find the best way to express it. I have now rethought and submitted a new commit message. If there are still areas that can be improved, please let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't specify the title as "Update lkmpg.tex" since we have one Tex document file. You have to summarize in more informative manner.
Add sudo to commands in Chapter 8 for example module interaction. The "myvariables" in the module are set with 0660 permissions via __ATTR(), preventing direct user access. Options to fix this: 1. Instruct users to use 'sudo' to read/write files. 2. Relax the permission settings to 0666. This commit adopts the sudo method to maintain security constraints.
d054d61
to
be16ad6
Compare
Thank you for the feedback. I initially referred to #169 for improvements. I have now rethought the title to include more informative content. |
Thank @pao0626 for contributing! |
In chapter 8, the example code for setting permissions is as follows:
We have two options:
sudo
.This commit adopts the sudo method to maintain security constraints.