Quote:
Originally Posted by GlennsPref
After you chown, do chattr +i (immutable).
do chattr -i to reverse the immutable flag. see with lsattr
I hope It's obvious the user and filename are required.
I've not tried this in /dev...
|
That's going to be "permanent" just until the next reboot, at which time the entire /dev devtmpfs is recreated. The only way I know of to change those permissions is by overriding the rules 50-udev-default.rules and 91-vfio.rules in /usr/lib/udev/rules.d. If you decide to do the rules override, put the override file(s) in /etc/udev/rules.d so that they won't be replaced in the next update.