jgm/gitit

gitit seems to refer to default.conf

chrisSCM opened this issue · 1 comments

When starting gitit with a non-privileged user, I find that despite using "-f" with a specific config file, gitit still refers to the default.conf. Of course, the non-privileged user doesn't have the right to access the build directory and its contents.
The error is:
gitit: /root/gitit/.stack-work/install/x86_64-linux/lts-12.4/8.4.3/share/x86_64-linux-ghc-8.4.3/gitit-0.12.2.1/data/default.conf: openFile: permission denied (Permission denied)
The command was:
sudo -u gitit /var/local/wiki/startup.sh
with startup.sh containing:
/usr/local/bin/gitit -f wiki.conf
and being located in the wiki folder.

jgm commented