Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update example in chapter 8 to use sudo
In chapter 8, the example code for setting permissions is as follows: ```c static struct kobj_attribute myvariable_attribute = __ATTR(myvariable, 0660, myvariable_show, (void *)myvariable_store); ``` We have two options: 1. Instruct users to read/write the file with `sudo`. 2. Relax the permission setting to 0666. This commit adopts the sudo method to maintain security constraints.
- Loading branch information