Permission Help - Jellyfin

Ubuntu Support Template

Ubuntu Version:
24.04

Desktop Environment (if applicable):
Mate
Problem Description:
I currently have ubuntu server (24.04) running inside a qemu vm. I have set up a shared

folder between said server and my host using virtiofs. The Jellyfin server is setup in my vm and I access it via firefox on my host using firefox 192.168.1.3:8096. Everything has been working fine for sometime. (I actually watch the Jellyfin media on my TV rather than my host pc).
Now when I access the Jellyfin server via firefox on my host I cannot lauch/run any media files (mp4). Looking at the Jellyfin log it looks like I have a permission problem:

[2026-04-10 07:14:26.856 +00:00] [ERR] Permission error for Directory watcher: "/mnt/hostshare"
System.UnauthorizedAccessException: Access to the path '/mnt/hostshare' is denied.
 ---> System.IO.IOException: Permission denied

Why this has started is a mystery. /mnt/hostshare is the mount within my ubuntu server vm/Jellyfin client. Also attached is the setting of the virtiofs for my vm.

Any advice appreciated.

sudo chmod -R 755 /mnt/hostshare

4 Likes

What is the output of
mount | grep -i share

sudo chmod -R 755 /mnt/hostshare. Wow - that did it. Thank you very much. It appeared so complicated yet a simple command sorted it.

1 Like

Why has post no. 3 from @kairis not been marked as the solution?

If a post answers a question, please check the “solved” box. It means that the poster is recognised for their help and it makes it easier for others to find the solution.

The text above is found Here - First section Item 8

1 Like

Apologies - I thought I had marked it as solved. I ticked the arrow, as shown below, and from memory it went from grey to bold. I will do it again. I read your link to me but it did not, to me, show me how exactly to mark a post/comment as solved. For me this site is not as intuitive to use as some sites - I can only apologise and hope my apology is accepted.

note: Just marked as solved. Gone from grey to bold/green. I hope it works this time

2 Likes

Yeh that’s done it :+1:t2:

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.