Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Can't browse DVD content even as root

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
wartisoc
Posts: 48
Joined: 2016-06-28 18:17

Can't browse DVD content even as root

#1 Post by wartisoc »

I've got a data DVD that I can't browse the contents of. I'm using Debian Stretch and after inserting the DVD it gets automatically mounted but then I get an "Error opening directory '/media/cdrom': Permission denied". Using ls on /media shows this:

Code: Select all

wartisoc@debian:~$ cd /media/
wartisoc@debian:/media$ ls -l
total 6
lrwxrwxrwx  1 root   root    6 Nov 21  2017 cdrom -> cdrom0
drwx------  3 nobody  401 2048 Nov  7  2012 cdrom0
drwxr-x---+ 3 root   root 4096 Jun 28 10:41 wartisoc
Apparently the DVD is mounted as owned by nobody and I get a "Permission denied" error when trying to open it even as root!.

Code: Select all

wartisoc@debian:/media$ su
Password: 
root@debian:/media# ls -l
total 6
lrwxrwxrwx  1 root   root    6 Nov 21  2017 cdrom -> cdrom0
drwx------  3 nobody  401 2048 Nov  7  2012 cdrom0
drwxr-x---+ 3 root   root 4096 Jun 28 10:41 wartisoc
root@debian:/media#  cd cdrom0
bash: cd: cdrom0: Permission denied
I've tried to chown/chmod the mount point but I get also an error as it's a read-only filesystem. Any help appreciated.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Can't browse DVD content even as root

#2 Post by debiman »

tell whoever automounts it (filemanager?) to stop that, and mount it manually.

Post Reply