FedoraThis forum is for the discussion of the Fedora Project.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
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.
A user not having access to their cdrom by defaul is normal?
No, it isn't. But I think upgrading the entire Operating System is a little drastic when editing a text file will probably suffice. There is most likely an error in the file, not in the software. Changing the permissions in that file will cause it to set those permissions on every boot. Probably easier to edit a line in a text file than redo the entire system Hell, entering a command to change the permissions manually on every boot is still easier than redoing the entire system.
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.
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.