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.
- Just open your graphical Software Center and find your FFMPEG app installed from SNAP repository.
- 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 ...