SNAP package FFMPEG can't access any file (access denied). How can i fix that?

SNAP package FFMPEG can't access any file (access denied). How can i fix that?

I've installed FFMPEG SNAP package (from Snapcrafters).

But it can't see/access any file in my home directory.

It always returns "filexyz.mp4: Permission denied" error . Doesn't not matter when I use sudo prefix or not.

FFMPEG installed from ubuntu repositories using sudo apt install ffmpeg worked. So this si snap package specific problem.

终端截图在这里

答案1

There is no need to use --devmode or in/out pipes.

  1. Just open your graphical Software Center and find your FFMPEG app installed from SNAP repository.
  2. There you can find PERMISSIONS button, click on it, and enable "Read/write files on removable storage devices" permission. Then it works and you can read/write files in your own home directory.

More info about snap apps permissions here

This is bug, imo. Home directory is not "removable device" :-) But it works ...

相关内容