From 8d04428957a3cf54a2bcb205dafb2660c655d12a Mon Sep 17 00:00:00 2001 From: admins Date: Fri, 1 May 2020 19:25:24 -0400 Subject: creating user public_repos directory --- bin/makeuser | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/makeuser') diff --git a/bin/makeuser b/bin/makeuser index 5ceeb0f..e7bc4b8 100755 --- a/bin/makeuser +++ b/bin/makeuser @@ -43,7 +43,12 @@ case $1 in # make the public_html directory for the users mkdir /var/www/users/$1 chown $1:tilde /var/www/users/$1 - ln -s /var/www/users/$1 /home/$1/public_html + doas -u $1 ln -s /var/www/users/$1 /home/$1/public_html + +# make the public_repos directory + mkdir /var/www/cgit_repos/$1 + chown $1:tilde /var/www/cgit_repos/$1 + doas -u $1 ln -s /var/www/cgit_repos/$1 /home/$1/public_repos # set up the httpd configuration for # individual users. this config forces tls -- cgit 1.4.1-2-gfad0 'submit' value='switch'/> Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log blame commit diff stats
path: root/src/resource.h
blob: 43bb6d188c30c2c0b334e43332f178633fe47bb9 (plain) (tree)
1
2
3
4