LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 06-13-2005, 01:35 PM   #1
qazwsx27
LQ Newbie
 
Registered: Jun 2005
Location: Toronto Canada
Distribution: Fedora Core 4
Posts: 22

Rep: Reputation: 15
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied


I have just installed xine movie player. The player will play files but not from the dvd drive. I have tried 'ln -s /dev/hdc /dev/dvd'. I get "ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied'. I have tried this command as root and the link is created. I have used the dvd drive as root.

Q: how do I set this up for a user.

TIA
Vince
 
Old 06-13-2005, 01:45 PM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
Okay not too hard.

If you chmod 666 /dev/hdc and then run ln -s as root a link will be created that any user can use.

Alternatively you can probably add your user to the cdrom or dvd group. usermod +G cdrom

bassically it sounds like u need to chmod ur /dev/hdc to 666 then you should be able to like a ok.

anyway, you don't need to create a link as a users as it just has the same effective permissions as the target file.
 
Old 06-14-2005, 12:08 PM   #3
qazwsx27
LQ Newbie
 
Registered: Jun 2005
Location: Toronto Canada
Distribution: Fedora Core 4
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the reply. Your suggestion works but the permissions seem to revert back when I rebooted and then had to 'chmod 666 hdc' again to play the dvd's with xine. I also had to chmod the mounted directories. chmod 666 /media/cdrecorder1.

When I try to use the user mount tool. I get the error "There are no filesystems which you are allowed to mount or umount. Contact your administrator." I wonder if this is related.

Fedora Core 3

TIA
Vince
 
Old 06-14-2005, 02:09 PM   #4
qazwsx27
LQ Newbie
 
Registered: Jun 2005
Location: Toronto Canada
Distribution: Fedora Core 4
Posts: 22

Original Poster
Rep: Reputation: 15
I think I've solved part of the problem. After I installed udev-039-10.FC3.7.i386.rpm the problem seems to have been fixed.

Due to a bug in udev released with Fedora Core 3.
Symlinks to CD-ROM's and DVD-ROM's were not being set up properly.
To fix, obtain a newer version of 'udev'. You can update 'udev' through 'yum'.

Check your version of 'udev':

[mirandam@charon ~]$ rpm -q udev
udev-039-10.FC3.5

Fedora Core 3 installs: 039-8.FC3
06-Dec-2004 update: 039-10.FC3.5
16-Dec-2004 update: 039-10.FC3.6
15-Mar-2005 update: 039-10.FC3.7

http://download.fedora.redhat.com/pu...pdates/3/i386/

# rpm -Uvh udev-039-10.FC3.7.i386.rpm

A reboot is required.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount /dev/hdc /dev/cdrom doesn't work ShrikesHarvest Linux - Newbie 10 02-21-2009 07:05 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
my dvd device is listed as /dev/Hdc Kilahchris Linux - Newbie 5 05-02-2004 11:08 PM
DVD-ROM on /dev/hdc Impaler Linux - Hardware 2 04-04-2004 06:03 AM
symbolic link: /dev/sound to /proc/asound/dev otterit Linux - General 3 08-08-2002 05:33 PM


All times are GMT -5. The time now is 02:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration