From 0b396f09f84fef7acf13481a047ade15c0f5251f Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 17 Nov 2017 23:06:40 -0500 Subject: [PATCH] minimized hello.txt, fixed perm for dock --- production/sites/cakelampvm.com/hello.txt | 25 +---------------------- scripts/site_avenger/revamp_cakelampvm.sh | 4 ++-- 2 files changed, 3 insertions(+), 26 deletions(-) diff --git a/production/sites/cakelampvm.com/hello.txt b/production/sites/cakelampvm.com/hello.txt index 7bf0d1b8..f430c4fb 100644 --- a/production/sites/cakelampvm.com/hello.txt +++ b/production/sites/cakelampvm.com/hello.txt @@ -1,25 +1,2 @@ Welcome to the CakePHP LAMP VM. - -Please refer to the built-in documentation available at: http://cakelampvm.com - -Some first steps to make this vm your own: - -#### - -1) change your password for the developer account. -(may eventually be automatically required) - -#### - -2) change your git configuration for user and email. this is how we've -configured it so far: - - # git config --global user.email "developer@cakelampvm.com" - # git config --global user.name "Developer J. Cakemo" - -if you're developing on a real project, you probably don't want the bogus -email and even more bogus name above attached to your commits. -Just run the two commands again but with proper values. - -#### - +Documentation is available at: http://cakelampvm.com diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index ea31020f..ff9f0b1c 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -38,7 +38,7 @@ test_or_die "group_perm www-data" ############## # set up access on some important folders for the developer user. -chown -R developer:developer /home/developer +chown -R developer:developer /home/developer /home/developer/.[a-zA-Z0-9]* test_or_die "chown developer home" harsh_perm /home/developer/.ssh test_or_die "harsh_perm setting on developer .ssh" @@ -50,7 +50,7 @@ test_or_die "group perms on apache2 and bind" ############## # fix perms for fred user. -chown -R fred:fred /home/fred /home/archives/stuffing +chown -R fred:fred /home/fred /home/archives/stuffing /home/fred/.[a-zA-Z0-9]* test_or_die "chown fred home" group_perm $HOME/apps test_or_die "group perms on fred's apps" -- 2.34.1