Can't browse DVD content even as root

New to Debian (Or Linux in general)? Ask your questions here!

Can't browse DVD content even as root

Postby wartisoc » 2018-06-28 23:06

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.
wartisoc
 
Posts: 41
Joined: 2016-06-28 18:17

Re: Can't browse DVD content even as root

Postby debiman » 2018-06-29 15:51

tell whoever automounts it (filemanager?) to stop that, and mount it manually.
User avatar
debiman
 
Posts: 2814
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable