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?