Recommended server configuration

Was installing and setting up Gitea last night using the Installation from binary page when I noticed some of the issues with the “Recommended server configuration” section of the page.

Under the “Create required directory structure” it lists out these commands for you to create a proper directory structure, but the commands seem to not make sense.

mkdir -p /var/lib/gitea/{custom,data,indexers,public,log}
chown git:git /var/lib/gitea/{data,indexers,log}
chmod 750 /var/lib/gitea/{data,indexers,log}
mkdir /etc/gitea
chown root:git /etc/gitea
chmod 770 /etc/gitea

It asks you to make /var/lib/gitea/{custom,data,indexers,public,log}, but doesn’t give permission to /var/lib/gitea/{custom,public}. Am I missing something or is this just a mistake in the docs?

Went ahead and solved the issue while rewritting some of the docs for Installation from binary.

indexers/ is still writing to the working directory and has no configuration option on install, nor after installation is there an option in /etc/gitea/app.ini. I’ll be making an issue on GitHub to hopefully have the docs fixed along with indexers/ writing funny.