I accidentally sudo chmod 666 /dev/*. And now many devices in my computer messed up. I have fixed some of them like /dev/shm, /dev/snd but I am not sure about the rest. What's the correct permission for file and folder in /dev/* ? Can I restore it to the default value ?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
|||||||||||
|
|
In modern Linux systems, the If you still want to do it manually, you will find all of the udev rules that specify the permissions that things are supposed to have in You might be able to get
...but I have not tried this and I have no idea whether it will actually work or if it will cause problems. |
|||
|
|