From 589cdbceb36f96c0179f55b29c8c40f4ff856995 Mon Sep 17 00:00:00 2001 From: Rey Dhuny Date: Thu, 9 Oct 2014 13:21:23 +0100 Subject: [PATCH] Fix chmod/chown permissions on `foo` user. I imagine this will eventually be scripted anyway but it's always nice to see something up and running quickly. --- docs/how-to-set-up-a-tilde.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/how-to-set-up-a-tilde.md b/docs/how-to-set-up-a-tilde.md index e0fe7f7..4167a3b 100644 --- a/docs/how-to-set-up-a-tilde.md +++ b/docs/how-to-set-up-a-tilde.md @@ -45,12 +45,14 @@ This document will talk you through setting up your own tilde.club flavoured ser * `sudo vim /etc/ssh/sshd_config` change `PasswordAuthentication` to `yes` * `sudo service sshd restart` -## Create a user `bill` with correct permissions +## Create a test user `foo` account and `public_html` folder -* `sudo adduser bill` -* `sudo passwd bill` -* `mkdir /home/bill/public_html` -* `sudo chmod 755 /home/bill` +* `sudo adduser foo` +* `sudo passwd foo` +* `sudo mkdir /home/foo/public_html` +* `sudo chown foo:foo /home/foo/public_html` +* `sudo chmod 755 /home/foo` +* `sudo chmod 755 /home/foo/public_html` ## Install Apache