the description of installation from binaries is quite brief:
- Extract the archive.
cdinto the directory just created.
./gogs weband you’re done.
It doesn’t say where to extract the archive and what user should run gogs.
Now I’m running into the “Run user isn’t the current user: git -> root” error, so these questions are not idle. I’ve extracted the archive to a subfolder of
/root and I’m trying to run gogs by root. Is it ok to just set the user of gogs to root (in the
...:3000/install web interface) or this would be a security issue? If it is, what user should run it? (via
sudo -u username ./gogs web, I believe) I’ve checked the list of users via
cat /etc/passwd | cut -d: -f1 and there’s no
gogs user among them. Should I create one? What rights should it have?
I also suggest that the recommended folder and user to use are described in the installation description.