From d5ec4e41f29f6c62217000cadbf5074720823bff Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 29 Dec 2012 16:24:25 +0200 Subject: [PATCH] install.run: add creation of ~/public_html and set permissions correctly --- .install.MKAYSIGREP.run | 3 +++ install.run | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.install.MKAYSIGREP.run b/.install.MKAYSIGREP.run index f884c0e8..f77b282e 100755 --- a/.install.MKAYSIGREP.run +++ b/.install.MKAYSIGREP.run @@ -13,4 +13,7 @@ cat .keys/ssh > ~/.ssh/authorized_keys chmod 700 ~/.ssh --recursive gpg --quiet --import .keys/0x4DB53CFE82A46728.asc& chmod 700 ~/.gnupg --recursive +mkdir -p ~/.public_html/ +chmod 711 ~ +chmod 755 ~/.public_html # vim : set ft=sh : diff --git a/install.run b/install.run index 35a8f40b..fc0b9310 100755 --- a/install.run +++ b/install.run @@ -13,4 +13,8 @@ gpg --quiet --import .keys/0x4DB53CFE82A46728.asc& mkdir -p ~/.ssh chmod 700 ~/.ssh --recursive chmod 700 ~/.gnupg --recursive +mkdir -p ~/.public_html/ +chmod 711 ~ +chmod 755 ~/.public_html # vim : set ft=sh : +#chmod 700 $HOME -R