I'm not sure if I found a bug, or is just by design.
I'm running Mediabrowser server 3.0.5518.4 on CentOS 7 and my media library is hosted on a Windows SMB fileshare that MB access through the network. This share has read-only permissions.
I mounted this SMB share on my CentOS server so it looks local to any application that runs on this machine. Then I configured MB library to point to this local folder. The library was successfully scanned, all the metadata was retrieved correctly from the internet and I was able to watch content from a web browser and also from my iPad. So far so good.
All my movies and tv shows have subtitles, they were scanned and detected correctly by MB. The problem is that when I try to enable the subs for any movie or tv show, they don't work. On any device (web or tablet). Video and audio is ok but the subs just don't work.
I went through MB logs and I found that every time I enabled subs this error is logged (partial extract below, full trace attached):
Access to the path "/storage/Movies/WhatEverMovie/WhatEverMovie.spa.srt" is denied.
This is not true, since subs and video files are in the same folder on the share. I also try to open the subs file from the MB machine with vi, cat, more, etc. and there is no problem at all. I can read the file perfectly. Of course since the share is read-only I can only read the file, not modify it, delete it, etc.
I tried to change the permissions on the share to allow write access, just for the sake of testing and voila, subs started to work from MB.
Now my questions are, why MB will fail to display the subtitles if it doesn't have write access to the file? Is this a bug? By design?
Any other application/media player I tried had no problem at all to display the video and the subs from this read-only network share.
Thanks in advance for your replies.