jgm / jgm/gitit

gitit seems to refer to default.conf

Open
#622 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.3k
Forks
231
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.