Slackware This Forum is for the discussion of Slackware Linux.
Notices
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
10-06-2004, 01:26 AM
#1
LQ Newbie
Registered: Sep 2004
Location: India
Distribution: Slackware,Mandrake,Fedora
Posts: 14
Rep:
how to play dvd's
How do u play dvd's in slackware 10, I would like all users to be able to access my dvd/cdrom at the moment only the root is able to access the cdrom. moreover in the /mnt path i can only see the cdrom folder.
My fstab looks like this
/dev/hda4 swap swap defaults 0 0
/dev/hda3 / ext2 defaults 1 1
/dev/hda1 /fat-c vfat defaults 1 0
/dev/hda5 /fat-d vfat defaults 1 0
/dev/hda6 /fat-e vfat defaults 1 0
/dev/hda7 /fat-f vfat defaults 1 0
/dev/hda8 /fat-g vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/cdrom /cdrom iso9660 noauto,user,ro 0 0
please help. as you can see by my explanation of the situation i am a newbie to linux jus abt getting used to setting file permissions and the likes.
10-06-2004, 01:42 AM
#2
Member
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 899
Rep:
try "ls -l /dev/cdrom" to find out what your cdrom device really is (probably something like hdc or hdd) and then ls -l (device) to find out which group has access to the cd drive, then add your users to that group. Alternatively, do a chmod o+rw if you don't care about all users (even non-human users) being able to read from the device.
10-06-2004, 01:43 AM
#3
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
First of all you should decide which cdrom you
REALLY want in fstab ....
Two mountpoints is one too many.
The more important bit is rwx permissions
for a group, e.g. cdrom on the actual dvd-
device (e.g. /dev/hdc or /dev/scd0) ...
Adding all users to group cdrom.
Done
Cheers,
Tink
10-06-2004, 01:56 AM
#4
LQ Newbie
Registered: Sep 2004
Location: India
Distribution: Slackware,Mandrake,Fedora
Posts: 14
Original Poster
Rep:
for the first command ls -l /dev/cdrom
this was the result
lrwxrwxrwx 1 root root 8 2004-09-24 14:57 /dev/cdrom -> /dev/hdc
so i figured out that /dev/hdc is the cdrom drive
so i gave the second command
ls -l /dev/hdc
and its result was
brw-rw-rw- 1 root disk 22, 0 2002-06-10 02:27 /dev/hdc
which group has access to it and how do you add users to it and which player plays dvd
thanx for your help
10-06-2004, 01:58 AM
#5
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
<This is useless as CroMagnon pointed, I didn't take a close look at the permissions
>
disk is the group
So goto /etc/group and in the line that says "disk::6:root" (this may vary) add ",youruser" to make it look like:
Code:
disk::6:root,youruser
Now you have your user in the disk group that has access to hdc
Last edited by gbonvehi; 10-06-2004 at 02:21 AM .
10-06-2004, 02:10 AM
#6
Member
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 899
Rep:
Quote:
brw-rw-rw- 1 root disk 22, 0 2002-06-10 02:27 /dev/hdc
Hmm - all users already have read and write access to this device. Do you have a cdrom drive and a dvd drive in the same machine?
10-06-2004, 01:33 PM
#7
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Quote:
Originally posted by gbonvehi
<This is useless as CroMagnon pointed, I didn't take a close look at the permissions :) >
disk is the group
So goto /etc/group and in the line that says "disk::6:root" (this may vary) add ",youruser" to make it look like:
Code:
disk::6:root,youruser
Now you have your user in the disk group that has access to hdc
You DON'T want a normal user to be member
of disk, because that would give him permissions
on all raw hdd devices ...
chgrp cdrom for the cdrom would be the way to go,
but as CroMagnon already pointed out his device
permissions are a bit suspect already :)
rakesh, check the output of dmesg to see which
physical device is being associated with your
dvd-drive.
Cheers,
Tink
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 06:01 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News