LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   permissions change on reboot (https://www.linuxquestions.org/questions/slackware-14/permissions-change-on-reboot-358359/)

baldwonder 08-30-2005 01:25 AM

permissions change on reboot
 
Okay, I've tried to search these forums, but the searches never complete. I am trying to get my dvd player to work with Xine. When I login I do the following to get it to work:

1) chmod 1777 /dev/hdc

hdc is my DVD/CD-RW combo drive

2) ln -s /dev/hdc /dev/dvd

Once I do these two things, DVDs play fine with xine. But when I reboot, the permissions on /dev/hdc are rwxr-xr-x and /dev/dvd does not exist. I have tried changing the udev files, but I may not be doing it right. Any ideas on what is going on? I have recently compiled the 2.6.12 kernel. Everything seemed to be working fine until I tried to play a DVD. Thanks in advance.

spooon 08-30-2005 01:50 AM

what does the entry for /dev/dvd say in your /etc/fstab?

i think maybe you need to add the "user" option to the mount options in the 4th field (not sure about this)

baldwonder 08-30-2005 02:27 AM

The fstab entry is this:

/dev/dvd /mnt/dvd iso9660 noauto,users,ro 0 0

dunric 08-30-2005 04:38 AM

When udev is used, changing anything in /dev is a nonsense. Content of this directory is changed dynamicaly by udevd daemon along rules in /etc/udev subdir. Because mentioned device has cdrom group with write permission(needed for some IOCTLs) I'd recommend to add your normal user to this group. Hope I needn't to tell relogin is required.


All times are GMT -5. The time now is 07:12 AM.