1

I want to disable CDROM/CDRW/DVDROM/DVDRW for everyone in Ubuntu 14.04.1 desktop 64-bit edition.

I have tried following but not worked:

  1. Removed user from /etc/group, as following: cdrom:x:24:

    as defined at Permanently disable CD drive

  2. Defined rules in /etc/udev/rules.d/71-cdrom-block.rules and /lib/udev/rules.d/71-cdrom-block.rules as follows:

    ENV{UDISKS_SYSTEM}="1", ENV{UDISKS_AUTO}="0", ENV{UDISKS_SYSTEM_INTERNAL}="1",         ENV{UDISKS_AUTOMOUNT_HINT}="never"
    

    as defined at https://superuser.com/questions/693155/disable-device-node-using-udev-dev-sr0

But still I am able mount the CD-ROM. Kindly help how to disable it for everyone.

1 Answers1

0

Can you do this to change the permissions of the drive to root only

sudo chmod 700 /media/path/to/your/DVDRom

Your mount point is in /media/DVDdrivenamehere

This will make it requier root password and

sudo chmod 777 /media/path/to/your/DVDRom

Will allow full accsess againg

To disable DVD auto-play open system settings and go to details

On the left choose removable media, you can easily set auto-play parameters. from here

Mark Kirby
  • 18,949
  • 19
  • 79
  • 116