"eject" command only works for root
From: Robert Storey (y2kbug_at_ms25.hinet.net)
Date: 07/31/03
- Previous message: Robert Storey: "Re: Linux firewall vs Windows and Hardware based firewalls"
- Next in thread: Shawn Lamson: "Re: "eject" command only works for root"
- Reply: Shawn Lamson: "Re: "eject" command only works for root"
- Reply: fbottin_at_free.fr: "Re: "eject" command only works for root"
- Reply: Paul Brossier: "Re: "eject" command only works for root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Jul 2003 21:02:58 +0800 To: debian-user@lists.debian.org
Dear all,
The "eject" command (which opens the CD tray) works as expected if I run
it as root. But as a common user, typing "eject" on the command line
brings up this error message:
bob@sonic:~> eject
eject: unable to find or open device for: `cdrom'
I took a look at the permissions for "eject":
bob@sonic:~> ls -l /usr/bin/eject
-rwxr-xr-x 1 root root 14332 Apr 25 2001 /usr/bin/eject
Common users can mount/unmount the drive - this is from /etc/fstab:
/dev/cdrom /cdrom iso9660 ro,user,noauto 0
0
So I'm perplexed as to what is preventing common users from being able
to open the drive with the "eject" command.
regards,
Robert
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Robert Storey: "Re: Linux firewall vs Windows and Hardware based firewalls"
- Next in thread: Shawn Lamson: "Re: "eject" command only works for root"
- Reply: Shawn Lamson: "Re: "eject" command only works for root"
- Reply: fbottin_at_free.fr: "Re: "eject" command only works for root"
- Reply: Paul Brossier: "Re: "eject" command only works for root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Executing script(SOLVED)
... command, and now the program ejects the cd without ... > you'll see not everyone
can eject. ... >> Do You Yahoo!? ... Mail has the best spam
... (Debian-User) - Re: Newbie having problem unmounting CD in Fedora Core 6
... issues with installing software caused by having no network connection ... left
click the Eject option on the pop-up menu. ... and the error messages from umount
give no clue. ... Is there a more aggressive command than umount for forcing ...
(comp.os.linux.misc) - Re: Batch Job to Eject Cartridge(s)
... DFSMSrmm - run RMM CV volser EJECT command in batch TMP ... use the console
interface to issue the operator LIBRARY EJECT ... practical Guide to TS1120 Tape Drives
and TS3500 Tape Automation? ... (bit.listserv.ibm-main) - Re: Command to eject and close the CDROM tray ?
... The OP ask about a command to eject and close the CDROM tray. ... The
only people for me are the mad ones -- the ones who are mad to live, ... the ones who never
yawn or say a commonplace thing, but burn, burn, burn ... (comp.os.linux.misc) - Re: [SLE] cdrom stuck under 9.1
... On Tuesday 21 September 2004 01:50, Patrick Shanahan wrote: ... >> eject
alone works also as the command looks for the devices which ... >> use eject
and if the device is mounted it says it will try to ... command three times? ...
(SuSE)