# fix up the main web storage.
chown -R www-data:www-data /var/www
test_or_die "chown www-data"
# fix up the main web storage.
chown -R www-data:www-data /var/www
test_or_die "chown www-data"
# fix perms for fred user.
chown -R fred:fred /home/fred /home/archives/stuffing
test_or_die "chown fred home"
# fix perms for fred user.
chown -R fred:fred /home/fred /home/archives/stuffing
test_or_die "chown fred home"
harsh_perm /home/fred/.ssh
test_or_die "harsh_perm setting on fred .ssh"
chown -R fred:fred /opt/feistymeow.org
harsh_perm /home/fred/.ssh
test_or_die "harsh_perm setting on fred .ssh"
chown -R fred:fred /opt/feistymeow.org
# only update hello if they've still got the file there. we don't want to
# keep forcing our hellos at people.
if [ -f "$HOME/hello.txt" ]; then
# only update hello if they've still got the file there. we don't want to
# keep forcing our hellos at people.
if [ -f "$HOME/hello.txt" ]; then
apt-get install -y bluefish &> "/tmp/install_bluefish-$(logname).log"
test_or_continue "installing bluefish editor"
apt-get install -y bluefish &> "/tmp/install_bluefish-$(logname).log"
test_or_continue "installing bluefish editor"
# site config files. our original site was 000 and the new version is 001,
# which we've done as a prefix on the config for some reason. makes the
# code below easy at least.
# site config files. our original site was 000 and the new version is 001,
# which we've done as a prefix on the config for some reason. makes the
# code below easy at least.