LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-02-2002, 10:42 PM   #1
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Rep: Reputation: 30
permission or ownership problems


I just want to make sure i got this right before I do something.....

usin' MD 8.1, I'm tryin to play music cd's with xmms...I can't play it as a regular user; but when I start xmms as root I can play it. I did a

ls -l cdrom and got lr-xr-xr-x 1 root root
Now would I change ownership or would I set permissions?
 
Old 03-03-2002, 01:44 AM   #2
nikhiljosh
Member
 
Registered: Jun 2001
Posts: 126

Rep: Reputation: 16
same thing happened with my soundcard.
I changed ownership.
 
Old 03-03-2002, 12:23 PM   #3
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
By default there is a group in 8.1 called audio. So add your ueser(s) to audio with userdrake or something you feel comfortable with, then open a terminal and as root or superuser do;

cd /dev
chown root.audio cdrom
You can (should) do this with all of the audio devices, then noone but users you add to the audio group have access. These are usually;
dsp dsp1 audio audio1 mixer mixer1 sequencer sequencer2 midi00 midi01 midi02 midi03
You can do them all at once by typing them like that with chown also.
 
Old 03-03-2002, 12:38 PM   #4
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Original Poster
Rep: Reputation: 30
I did that....now in the mnt/cdrom directory hdc shows up. I also can't play my mp3 as a user now...is that strange or what???
 
Old 03-03-2002, 12:58 PM   #5
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Original Poster
Rep: Reputation: 30
1 down 1 to go

Aight I figured out the mp3 problem....had to go into xmms and change a preference.
 
Old 03-03-2002, 01:25 PM   #6
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Original Poster
Rep: Reputation: 30
OK maybe I'm lookin at this the wrong way....here is the low down...
I did a regular install of MD 8.1 I have a cd-rw that I had put in before install
Now the SCSI module was loaded etc... Now when I want to play a cd with xmms it wouldn't play it only played when I opened it in root. I did the chown root.audio cdrom that taz suggested. It helped cuz I can go into the mnt/cdrom directory now; but instead of seeing list of music (ie. track 01 and so on..) I see hdc. which is the dev of my cdrom. Should I have done a symbolic link somewhere since I have a scsi emulator loaded or should I look in another directory?
here is a copy of my fstab

/dev/hda1 / reiserfs notail 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc /mnt/cdrom auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0
/dev/scd0 /mnt/cdrom2 auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0
/dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,umask=0,sync,exec,codepage=850,noauto 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
 
Old 03-03-2002, 03:33 PM   #7
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Original Poster
Rep: Reputation: 30
I got it to work thanks for the help my linux kin-folks
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange permission issue. Problems changing ownership. ExCIA Linux - Newbie 6 05-26-2005 04:17 AM
Ownership problems _UnPrEdictAbLe_ Fedora 4 08-11-2004 02:42 PM
Ownership/Permission and Delete Syntax MadDogE134 Linux - Newbie 8 06-09-2004 06:05 PM
scp - peserve file ownership and permission eyt Linux - Newbie 6 10-24-2003 03:41 PM
Ownership problems Savahn Linux - Newbie 3 03-22-2003 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration