cancel
Showing results for 
Search instead for 
Did you mean: 
Mawuena
Flight Engineer
Flight Engineer
  • 360 Views

How to mount cdrom as an ordinary user in RHEL9

Hello,

Please, help:

§mount /dev/sr0 /media
mount: /media: must be superuser to use mount.

Regards & thanks

2 Replies
ARoumiantsev
Flight Engineer
Flight Engineer
  • 355 Views

Hi @Mawuena 

Mounting a CD-ROM as an ordinary user in RHEL 9 requires specific permissions configured by a root user. By default, only the root user can mount devices.

Simplest way to use gnome-disk-utility. GNOME provides a straightforward way to configure automounting of drives, particularly useful for internal drives or frequently used external drives. This is primarily managed through the Disks Utility (gnome-disk-utility).

In many case you have to insert CD in attached device only.

Good luck

Chetan_Tiwary_
Community Manager
Community Manager
  • 324 Views

@Mawuena for that I guess you need to include the "user" directive in the 4th field  (mount options) in the fstab :   from man fstab 

Chetan_Tiwary__0-1753896783862.png

Try that if it works like this : 

UUID=<xyzabc>             /media          iso<xxx>     ro,user,auto  0 0
0 Kudos
Join the discussion
You must log in to join this conversation.