permissions reset on reboot
I've noticed that permissions reset themselves when my computer is turned off. Each time I log on, i must alter the permissions of /dev/hdd (cd-rom) so that i can listen to a CD. I wanted to now if this is normal, and if there is something I can do so that when I later the permissions, they will still be the way I want them after I've rebooted.
thanks for any help. |
This is because you are using udev. when using udev nothing in /dev is actualy on your hard drive like it was with devfs so it goes away when you shut down and is created dynamacly at boot. you can ether go back to using devfs or set up some udev rules so your permissions are set corectly at boot.
this might help: http://www.redhat.com/magazine/002dec04/features/udev/ |
This sounds like a bug. I would suggest you upgrade to FC4.
|
Quote:
|
Quote:
|
Quote:
udev on CentOS (and most likely RHEL) causes users not to be able to access a scanner device by default. I edited the file but I didn't change or upgrade the distro over this error. If my suggestion doesn't work, just add the command you always enter to change the permissions to whatever you want to /etc/rc.local and this command will be run on every boot. |
heh I had problems playing audio cd's, annd some problems with open gl apps, upgrading udev fixed that problem.
|
what does that little checky-box labelled "sticky" do in the permisions dialog box?
I'm not 100% sure what you want me to do with that text file. After looking it over briefly I assume I should change the value for cdroms under "optical devices" from 0660 to 0664. Is that correct? |
Yes, that should fix the problem. And, if not, revert back to the original settings, and then take the command you issue each time you turn on the computer (eg. chmod 644 /dev/hdc) and put that command in /etc/rc.local and it will be run everytime you boot your computer.
|
hi i had the same issue. Do you need to reboot for udev to recreate the dev entries with the new permissions or is there a way to do it vai command line?
|
Unplug the device and plug it back in, or else use chmod to change the permissions.
|
I think you can give users ability to mount and access drives in /etc/fstab
In particular, I think that in the mount options (4th field), "pamconsole" does what you want. |
All times are GMT -5. The time now is 07:18 AM. |