Post Fri Nov 18, 2016 12:16 am

I lose serviio ownership of media folders after reboot

Hello forum,

I've been using Serviio for years and I love it. But ever since I started using systemd to start Serviio (systemctl start / stop / status serviio.service) according to this page viewtopic.php?f=5&t=4836 I've had a permissions problem. Serviio works great after I change ownership of /var/run/media/roy to "serviio" instead of root. But each time I reboot the computer, root once again becomes the owner of /var/run/media/roy and I get a "file not found" message when I try to play a movie. So my question is how can I make /var/run/media/roy to continue to be owned by Serviio after a reboot? I've read something about using the setgid command but I'm unsure about using it. Can I make a udev rule or something that will cause /var/run/media/roy to always be owned by "serviio" even after a reboot?

I am using Arch Linux and my movies are located on a USB HD with NTFS file system.

I do certainly appreciate any help or hint.

Best regards,
Roy