LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2003, 02:59 AM   #1
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Rep: Reputation: 15
Permissions...


How do I give users other then "root" control of devices
like floppys and CD-ROM's?
 
Old 10-10-2003, 03:33 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
Change the permissions on the file directory entries. Ex: chmod 755 /dev/xxxxx

Substitute the name of your device in place of the dummy name. -- J.W.
 
Old 10-10-2003, 03:57 AM   #3
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Original Poster
Rep: Reputation: 15
Ummm it still doesn't work I can't do this

mount /dev/hdd /mnt/cdrom

it tells me only root can do that.
 
Old 10-10-2003, 04:36 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
Please post your fstab file (in the /etc directory). What you may be trying to do is: mount /dev/cdrom /mnt/cdrom -- J.W.
 
Old 10-10-2003, 10:18 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
That's all complicated with symlinks and devices. You generally can't access devices unless you're root and I wouldn't generally change permissions on them directly.

I'd reverse whatever chmod command you made, whether it was to the device file or the symlink. Then:

Make sure your symlink points to your correct devices.
Make sure they are listed in fstab.
Change the fstab entries from 'owner' to 'user'.
Issue the command as 'mnt /mnt/foo' without mentioning the /dev device. Then it should work.

But that's just me - there's a million ways to do anything.
 
Old 10-10-2003, 02:44 PM   #6
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Original Poster
Rep: Reputation: 15
@digiot
Hey how do you create and remove symlinks? the reason why I need to remove 1 and readd some are because my cd-rw is detected as my CDROM thats why i have to use "mount /dev/hdd /mnt/cdrom" because hdd does not have a link to the cdrom mount driectory my cd-rw does witch is hdc ...

so correct me if im incorrect im just guessing on this ..
if i were to make a driectory named CD-R and delete the link on my CDROM directory and add a link to HDC and CD-R folder ... then do the same thing with HDD and the cdrom folder then update the fstab would both devices have proper mount points?

Last edited by CryptDragoon; 10-10-2003 at 02:48 PM.
 
Old 10-10-2003, 07:49 PM   #7
CryptDragoon
Member
 
Registered: Oct 2003
Location: $RANDOM
Posts: 122

Original Poster
Rep: Reputation: 15
Nevermind I have corrected it all on my own, I didnt realize that if you have scsi emulation enabled you must use the scsi device...in my case /dev/sr0 instead I was trying to mount /dev/hdc witch tachneically doesn't exist anymore, or atleast I think anyways.

anyways I wanna thank you guys for your help anyways ..:P see ya around!
and yes my spelling sucks ...lol
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 05:16 AM
Permissions jymmi Linux - Newbie 3 04-15-2005 12:43 AM
Permissions help reddog64 Linux - Newbie 1 04-22-2004 06:23 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 01:52 PM


All times are GMT -5. The time now is 10:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration