Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

minidlna permission issue

$
0
0
hi.

I have installed piratebox on my rpi b+.

At the end of the post-install instructions, it is said to run
systemctl start minidlna
But it is not that simple. Running
systemctl status minidlna
shows it failed to start with permission issue.

minidlna can't create the sqlite database in /opt/piratebox/tmp. I fixed that with ACL, running
setfacl -m u:minidlna:rwx /opt/piratebox/tmp
setfacl -m mask::rwx /opt/piratebox/tmp

But this not enough. I have uploaded a file and the file dropped in /opt/piratebox/share/Shared has only -rw------- permission so it's not readable by minidlna again. so minidlna can't update its database...

How do I fix droppy config so that files droppped are 644 by default ? change its umask ?

Even though, I have manually changed permission of files in /opt/piratebox/share/Shared, I still can't see any files when I try to access minidlna with vlc from over the LAN. I don't know if it's vlc failing or minidlna.

Note: you really need to fix this mess...

Viewing all articles
Browse latest Browse all 1863

Trending Articles