Can't rip to another drive/mount point

The place to discuss linux version of MakeMKV
andyc
Posts: 6
Joined: Mon Dec 31, 2018 3:32 pm

Can't rip to another drive/mount point

Post by andyc »

I am unable to rip to any other disk/mount point on my system except the primary disk. I can see the mount points in other programs such as handbrake but makemkv does not.
Woodstock
Posts: 10332
Joined: Sun Jul 24, 2011 11:21 pm

Re: Can't rip to another drive/mount point

Post by Woodstock »

Does the user you run MakeMKV under have permission to read and write to those mount points?
andyc
Posts: 6
Joined: Mon Dec 31, 2018 3:32 pm

Re: Can't rip to another drive/mount point

Post by andyc »

Thanks for your reply. Yes the mount points are owned by the account using makemkv.
xr200
Posts: 56
Joined: Tue Nov 10, 2015 3:11 am

Re: Can't rip to another drive/mount point

Post by xr200 »

Can the user who is trying to run makemkv create files
in the directory that the user wants makemkv to rip to?

In other words, if that user cd-s to the directory
and runs "touch foobar", what happens?
andyc
Posts: 6
Joined: Mon Dec 31, 2018 3:32 pm

Re: Can't rip to another drive/mount point

Post by andyc »

Yes, completed control. I can copy files to the mount point and create files. The mount points are not seen be makemkv when you browse to change the rip location. Other programs (such as handbrake and Vmware) see the mount points and can use them fine. This problem is the same on another systems I have as well.
andyc
Posts: 6
Joined: Mon Dec 31, 2018 3:32 pm

Re: Can't rip to another drive/mount point

Post by andyc »

Come on Linux users! Tell me what I have missed.
xr200
Posts: 56
Joined: Tue Nov 10, 2015 3:11 am

Re: Can't rip to another drive/mount point

Post by xr200 »

If makemkv can't find directory

/a/b/c/d

then run ls -ld on each and every directory in the path, eg,

ls -ld / /a/ /a/b/ /a/b/c/ /a/b/c/d/

and check the ownership and permissions of every directory to see
is something looks out of whack.
andyc
Posts: 6
Joined: Mon Dec 31, 2018 3:32 pm

Re: Can't rip to another drive/mount point

Post by andyc »

Thanks for the suggestion. I took a look at the path. Changed ownership of each of the directories in /media/andy/456GiB one at a time to andy. Problem persists. Only makemkv cannot get to the mounted location.
xr200
Posts: 56
Joined: Tue Nov 10, 2015 3:11 am

Re: Can't rip to another drive/mount point

Post by xr200 »

Did you also verify every directory had read and execute permission?

Run mount and verify the filesystem is mounted "rw"

Wild crazy guess, change the name of 456iG to something without
numerals, eg, mv 456iG MEDIA.

good luck.
andyc
Posts: 6
Joined: Mon Dec 31, 2018 3:32 pm

Re: Can't rip to another drive/mount point

Post by andyc »

Drive is owned all the way through by user. No fix to this yet. Is this not a problem for other Linux users?
xr200
Posts: 56
Joined: Tue Nov 10, 2015 3:11 am

Re: Can't rip to another drive/mount point

Post by xr200 »

run ls -ld on each and every directory in the path
and post the results.
Blu-Shield
Posts: 4
Joined: Tue Feb 19, 2019 2:03 pm

Re: Can't rip to another drive/mount point

Post by Blu-Shield »

andyc wrote:
Fri Jan 25, 2019 8:11 pm
Is this not a problem for other Linux users?
It's a known problem for users of Flathub's package of MakeMKV. See https://github.com/flathub/com.makemkv.MakeMKV/issues/6 for more information.

Are you using the Flathub package of MakeMKV? (Note that if you installed MakeMKV via Linux Mint's Software Manager, then you are indeed using the Flathub package.) If so, you can temporarily work around this issue by running the following command in a terminal:

Code: Select all

flatpak override --filesystem="/media/andy/456GiB" com.makemkv.MakeMKV
Note that if MakeMKV is installed system-wide (this would be the case if you installed it through Linux Mint's Software Manager), then you will need to run the above command as the root user, e.g. by prepending "sudo " or "su -c ":

Code: Select all

sudo flatpak override --filesystem="/media/andy/456GiB" com.makemkv.MakeMKV
Once this issue is fixed in the Flathub package, you can stop using the above workaround and reset MakeMKV's permissions to the defaults, by running the following command (run it as root if necessary):

Code: Select all

flatpak --reset com.makemkv.MakeMKV
swolsen
Posts: 1
Joined: Sun Apr 21, 2019 11:35 am

Re: Can't rip to another drive/mount point

Post by swolsen »

I too am having this issue. I can not select an output folder that is mounted. I do have complete control of that folder and can write files there normally.
CtrlAltDel
Posts: 1
Joined: Fri Jun 14, 2019 5:58 am

Re: Can't rip to another drive/mount point

Post by CtrlAltDel »

Is this still a problem if you install from source?
ThePeoplesBards
Posts: 1
Joined: Sun Aug 30, 2020 7:09 pm

Re: Can't rip to another drive/mount point

Post by ThePeoplesBards »

Came across this thread while searching for a solution to the same problem yesterday. I figured out a suitable workaround in case anyone is still dealing with this:

I can confirm this is not a permissions issue, it seems that MakeMKV is only "aware" of certain root directories no matter who owns it. I.e. you can search for a disc in '/bin/' even though this is owned by root however other root directories like '/media/' don't show up in MakeMKV's file explorer. So if you are like me and create a specific directory in root as a mount point for external drives, MakeMKV will not access it even if you own it.

To work around this I tried creating a mount point for my external drive in my home directory and and MakeMKV had no problems accessing the drive (Both from GUI and command line). This was a pain point in the ripping process because archiving disc images to the internal hd then creating an MKV and copying them both to their final destinations is very inefficient. BTW my drives are formatted in ext4, I dont think other formats will be an issue

To create a mount point you will need to edit your '/etc/fstab' file. There is a nice quick tutorial in Plex's documentation and Ubuntu's help:

https://forums.plex.tv/t/using-ext-ntfs ... nux/198544
https://help.ubuntu.com/community/MoveMountpointHowto

TL;DR:
Create a new directory in your home:
mkdir /home/username/mount_point

get the uuid of the external hd partition you want to mount from the output of blkid:
sudo blkid

add/edit the mountpoint in /etc/fstab:
sudo gedit /etc/fstab

The new lineyou add at the end of the file should look something like this (UUID should be from blkid, replace any_name with whatever you want your drive to be called, and replace ext4 with whatever format you are using ntfs, exfat,... if necessary):
UUID=24b85ae2 /home/user/mount_point/any_name ext4 defaults,auto,rw,nofail 0 2

save and close the file, then restart the computer.

If you don't want to do a system restart, unplug the drive and reload systemctl with:
sudo systemctl daemon-reload

Plug it back in. Rip away.
Post Reply