Results 1 to 3 of 3
Hello,
I have recently upgraded SuSe 10.1->10.2 and encountered a strange problem :
After I reboot the system, permissions of /dev/nvram and /dev/rfcomm1 change to their default values.
In particular, ...
- 04-12-2007 #1Just Joined!
- Join Date
- Jan 2007
- Location
- Germany
- Posts
- 73
/dev/ permissions change after stratup/reboot
Hello,
I have recently upgraded SuSe 10.1->10.2 and encountered a strange problem :
After I reboot the system, permissions of /dev/nvram and /dev/rfcomm1 change to their default values.
In particular, default values are :
crw-rw---- 1 root root 216, 1 2007-04-12 17:13 /dev/rfcomm1
crw------- 1 root kmem 10, 144 2007-04-12 19:12 /dev/nvram
[The first is used for bluetooth, the second-for thinkpad-keys]
As a consequence, nobody (except root) can access these devices, so each time I need
sudo chmod 666 /dev/xxx
or
sudo chown root:users /dev/xxx
From practical point of view, it is possible to put these commands in startup script.
But I am interested what causes this problem ??? I tried to look for files containing [chmod/chown] /dev/xxx in /etc/ folder, bu found nothing. I did not have this problem under SuSe 10.1
Thanks in advance for any hints and suggestions,
Xaleandr
- 04-12-2007 #2
It's probably udev setting the permissions. You can change udev's rules to get the permissions you want, but you need to be really careful with how open you make your device nodes (as a general rule, 666 is too permissive).
Stand up and be counted as a Linux user!
- 04-12-2007 #3Just Joined!
- Join Date
- Jan 2007
- Location
- Germany
- Posts
- 73
Thanks a lot,
the problem was indeed in udev
(file /etc/udev/rules.d/50-udev-default.rules to be exact.) Now everything works, even with permission 644.


Reply With Quote