sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.49k stars 105 forks source link

error creating playlists store: sanity checking: reading dir: open : permission denied #446

Closed michael-keyes closed 6 months ago

michael-keyes commented 6 months ago

gonic version:

if from source, git tag/branch: latest

Forced to use a playlists-path now. Config looks like this:

listen-addr                 0.0.0.0:4747
db-path                     /var/lib/gonic/gonic.db
music-path                  /home/mgk/gonic/music
podcast-path                /home/mgk/gonic/podcasts
playlists-path              /home/mgk/gonic/playlists
cache-path                  /var/cache/gonic/

Which now causes... error creating playlists store: sanity checking: reading dir: open /home/mgk/gonic: permission denied

Any ideas?

sentriz commented 6 months ago

try chown the playlists dir to be the same user as which gonic runs as