Ask a Question related to Debian, Design and Development.
-
Robert Storey #1
"eject" command only works for root
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 [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Robert Storey Guest
-
xmlParse() claiming "document root missin"
In another thread previously I tried to address this issue. Somebody claimed that removing the term PUBLIC from my internal DOCTYPE declaration... -
Configuring JRUN's "root directory"
Is there a way to configure JRUN so it won't necessarily use cfusion.war as the root directory? We'd like to be able to have a directory... -
"Weld" command in "Corel Draw"
Hi there: I'm new to Illustrator but have used Corel Draw in the past. In Corel Draw there was a "Weld" command. What this did was create a drawing... -
copying value of DDL in a Datagrid "pre-edit command" to value in "post edit command"
Hi all! I have Datagrid. Within that datagrid I have a drop down list that I set up some values in (a "collection") I set up an edit command... -
How command "manpath" works?
I downloaded j2sdk from SUN and extracted it to /usr/local and I found the /usr/local/j2sdk/man is in the list of command "manpath" But I haven't... -
fbottin@free.fr #2
Re: "eject" command only works for root
Quoting Robert Storey <y2kbug@ms25.hinet.net>:
Dear you,> 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.
>
Does the user have access to the device pointed by /dev/cdrom ? Usualy, the user
has to be a member of group "cdrom".
Francois.
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
fbottin@free.fr Guest
-
Paul Brossier #3
Re: "eject" command only works for root
sudo addgroup $USER cdrom
On Thursday 31 July 2003 14:02, Robert Storey wrote:> 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 [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Paul Brossier Guest



Reply With Quote

