[4.0.1.45] Gallery can't play videos outside default folders

REPRODUCIBILITY (% or how often): always
BUILD ID = OS VERSION (Settings > About product): 4.0.1.45
HARDWARE (Jolla1, Tablet, XA2,…): XperiaX
UI LANGUAGE:
REGRESSION: (compared to previous public release: Yes, No, ?):

DESCRIPTION:

Since the update to 4.0.1.45, the Gallery app can’t access / play videos outside the “Videos” folder. I organize my videos in a folder inside /home/nemo/ and then select and open them via the File Browser app.

PRECONDITIONS:

4.0.1.45 installed, video file located outside the “Videos” folder (e.g. /home/nemo/folder/video.file or on the sdcard)

STEPS TO REPRODUCE:

  1. Try to open / play a video file with the gallery app
  2. Gallery app opens

EXPECTED RESULT:

video is played

ACTUAL RESULT:

Gallery app shows “Could not load the video”

ADDITIONAL INFORMATION:

I verified, that the permissions are correct on the folder / file. I suspect that the new permission management with firejail prevent the Gallery from being able to access the file.

4 Likes

Confirm this issue with video podcasts downloaded by gPodder.

Similar behaviour under 4.0.1.48 - so I can confirm and consider this a bug

Bug or feature?
Or just default (non-sufficient) jail configuratiin?
Security measures often come with inconvenience.

Did not check but editing
/etc/sailjail/permissions/Video.permissions
and adding wanted directories to whitelist like
#whitelist ${HOME}/Videos whitelist ${HOME}/Videos,anotherDir
should do the trick.