DVD Permissions denied (SOLVED)

Hi guys

I’m looking for a bit of help/advice ripping a DVD, this particular DVD will play in VLC but only if I open VLC first then play the disc from there, but if I right click on the DVD icon in file manager and select “open with/vlc” I get this error

Your input can’t be opened:
VLC is unable to open the MRL ‘computer:///Optiarc%20DVD%20RW%20AD-5240S.drive’. Check the log for details.

That in itself is not a problem but I want to rip this DVD, I’ve tried to do it with VLC but all that happens is the progress bar goes straight up to almost 100% then nothing happens, if I try it in Handbrake I’m told I dont have permissions to open the disc

Any help or advice would be much appreciated

Graeme

What’s the EXACT error message from handbrake

and can you post the output from:

dpkg -l | grep libdvd

Hi Mark

I seem to have got it converting in VLC by changing the the chapter from 0 to 1 and it’s running now I don’t want to upset anything so I’ll post your requests once it’s finished

Many thanks

Graeme

Sure, don’t mess with it if it’s working :slight_smile:

The VLC conversion didn’t work correctly I got sound but no video

the exact Handbrake error is

could not read the contents of SONY_DVD_RECORDER_VOLUME permission denied
graeme@Linux1 ~ $ dpkg -l | grep libdvd ii libdvdcss2 1.2.13-0 amd64 library designed for accessing DVDs ii libdvdnav4:amd64 4.2.1-3 amd64 DVD navigation library ii libdvdread4:amd64 4.2.1-2ubuntu1 amd64 library for reading DVDs graeme@Linux1 ~ $

Thanks for taking the time to look at this

Graeme

Take a looksee at this:

It’s about a Mac, but suggests Sony DVD recorders hide the VIDEO_TS folder

Maybe you need to browser into the disk with a instance of file manager running as root ? … if you can see the VIDEO_TS folder, but couldn’t in a non-root file manager window, just copy it to your hard drive … then rip it from the folder (if you want it in a particular format).

[EDIT]

or possibly try vlc or handrake run as root (with gksudo not just sudo)??

gksudo vlc

or

gksudo handbrake

Copying the VIDEO_TS folder over to my home directory worked perfectly and it’s now converting in Handbrake

I’m a bit disappointed in myself because I did try that this morning but when I tried to paste into the /home/video directory I was getting permissions errors, but this time I opened the video folder as root and it pasted fine

This is not the first time I’ve had problems like this ripping DVD’s but I usually overcome it by rebooting the PC with the DVD in the tray but on this occasion it wouldn’t work

Once again thanks for your help :slight_smile:

Graeme

By the way just read all the way through the link to the mac site, isn’t it a bit rich mac users complaining about Sony’s anti copy activities, I wonder if any of them have tried copying music on to one of their shiney iPods outside Apples walled garden that they treasure so much

Graeme

Sure … only Apple can do no wrong ::slight_smile:

According to that Mac link, it seems the VIDEO_TS folder is set by the Sony DVD recorder to be owned by “nogroup” and only readable by owner and group.

If you’re likely to be ripping any more of those, try simply adding yourself to the “nogroup” group ?

I’d be fairly certain after adding yourself to the “nogroup” group and logging off/on, it’d let you rip them normally.

Thank you Mark

Presumably I can do that in users & groups hopefully it will solve some of the other issues I’ve been having ripping DVD’s This particular DVD wasn’t a commercial DVD as such it was one of those 3D pregnancy scan DVD’s my daughter got from a clinic so I wouldn’t have thought they would have put copy protection on it so that kinda solves the mystery,

if I have any further problems I’ll let you know and once again thanks for your help

Graeme

Yeah, do it in Users & Groups … you should see “nogroup” listed in there.

I’ve discovered I the same problem with my wifes PC (also running PM5) only her PC won’t play or show the contents of any DVD even in root, I’ve added her to to nogroup, I tried opening VLC via the terminal (gksudo vlc) but it won’t open, if I try to play it in VLC I get this message

Playback failure: VLC cannot set the DVD's title. It possibly cannot decrypt the entire disc. Your input can't be opened: VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.

here’s some other info that may be helpful


pat@Linux2 ~ $ dpkg -l | grep libdvd
ii  libdvdnav4:i386                            4.2.1-3                                    i386         DVD navigation library
ii  libdvdread4:i386                           4.2.1-2ubuntu1                             i386         library for reading DVDs
pat@Linux2 ~ $ 

Any help would be much appreciated

Graeme

OK, you have libdvdread4 installed, but you don’t have libdvdcss2 … so run:

sudo /usr/share/doc/libdvdread4/install-css.sh

Thank you Mark

That’s sorted out the DVD issue, but there’s still one problem, regarding a CD with jpeg images on it, when I put the disc in the drive a message pops up saying it’s mounted but it won’t open at all in any application, and I can’t view the contents at

/media/pat/SONY_DVD_RECORDER_VOLUME

I just get the permissions denied message, I don’t get that message in root but folder is empty

Any ideas ?

Many thanks

Graeme

What’s the output from:

ls -la /media/pat/SONY_DVD_RECORDER_VOLUME

if necessary try

sudo ls -la /media/pat/SONY_DVD_RECORDER_VOLUME
pat@Linux2 ~ $ ls -la /media/pat/SONY_DVD_RECORDER_VOLUME
ls: cannot open directory /media/pat/SONY_DVD_RECORDER_VOLUME: Permission denied
pat@Linux2 ~ $ sudo ls -la /media/pat/SONY_DVD_RECORDER_VOLUME
[sudo] password for pat: 
ls: reading directory /media/pat/SONY_DVD_RECORDER_VOLUME: Input/output error
total 2
d--x------ 3 pat pat 88 Jan  1  2004 .
pat@Linux2 ~ $ 

I ran the same commands with the CD in a different drive the output is slightly different

pat@Linux2 ~ $ ls -la /media/pat/SONY_DVD_RECORDER_VOLUME
ls: cannot open directory /media/pat/SONY_DVD_RECORDER_VOLUME: Permission denied
pat@Linux2 ~ $ sudo ls -la /media/pat/SONY_DVD_RECORDER_VOLUME
total 2
d--x------ 3 pat pat 88 Jan  1  2004 .
pat@Linux2 ~ $ 

Nobody seems to have read permission for the mountpoint :o

Try setting:

chmod -R 755 /media/pat/SONY_DVD_RECORDER_VOLUME

or if necessary though it shouldn’t be necessary as it’s owned by pat):

sudo chmod -R 755 /media/pat/SONY_DVD_RECORDER_VOLUME
pat@Linux2 ~ $ chmod -R 755 /media/pat/SONY_DVD_RECORDER_VOLUME
chmod: changing permissions of ‘/media/pat/SONY_DVD_RECORDER_VOLUME’: Read-only file system
chmod: cannot read directory ‘/media/pat/SONY_DVD_RECORDER_VOLUME’: Permission denied
pat@Linux2 ~ $ sudo chmod -R 755 /media/pat/SONY_DVD_RECORDER_VOLUME
[sudo] password for pat: 
chmod: changing permissions of ‘/media/pat/SONY_DVD_RECORDER_VOLUME’: Read-only file system
pat@Linux2 ~ $ 

It’s not made any difference I still get permission denied when I try to open in Mirage

should I need to reboot ?