No description
Find a file
2025-05-10 07:01:37 +02:00
misc init 2025-04-25 08:44:55 +02:00
src save 2025-04-25 15:43:46 +02:00
templates save 2025-04-25 15:43:46 +02:00
go.mod init 2025-04-25 08:44:55 +02:00
go.sum init 2025-04-25 08:44:55 +02:00
install.sh save 2025-04-25 15:43:46 +02:00
Makefile init 2025-04-25 08:44:55 +02:00
question.md init 2025-04-25 08:44:55 +02:00
readme.md add doc 2025-05-10 07:01:37 +02:00

on Archlinux

useradd -mg users -s /usr/bin/zsh test
passwd test

# make it accessible for to the Nginx
chmod 755 /home/test
chmod 755 /home/test/website

curl -u youruser:yourpass -T test.txt http://localhost:8800/test.txt

on Debian if login as su from another user /usr/sbin/useradd -mg users -s /usr/bin/zsh public

GOTOOLCHAIN=auto go mod vendor
GOTOOLCHAIN=auto go run .

apt install libpam0g-dev

sudo -u www-data ls /home/$user/website

Set up the user

chown -R :www-data /home/$user/website chmod 711 /home/$user