nkanaev / yarr

yet another rss reader
MIT License
3.02k stars 225 forks source link

Failed to create app config dir: mkdir /home/nginx: permission denied #75

Closed JadeVane closed 3 years ago

JadeVane commented 3 years ago

I run yarr with nginx's user permission

sudo -u nginx /var/www/yarr/yarr \
    -addr=127.0.0.1:7070 \
    -auth-file=/var/www/yarr/auth.conf \
    -base=/ -db=/var/www/yarr/feed.sql \
    -log-file=/var/www/yarr/access.log

and get error follow

2021/08/30 10:12:00 main.go:81: Failed to create app config dir: mkdir /home/nginx: permission denied

The value of config dir isn't mention in yarr -h, so I don't konw how to change it, any idea about this?

JadeVane commented 3 years ago

My failure, I got the error message for running the error command.