From a3b522a6b0bfa7038c853551db6e9e84a6c39ce5 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 2 Apr 2018 21:08:54 -0400 Subject: [PATCH] Revert "make bitwarden user home dir" This reverts commit 40242a78e59a4abb283f14ed5c3d47aebd4d8e6c. --- src/Admin/entrypoint.sh | 2 -- src/Api/entrypoint.sh | 2 -- src/Icons/entrypoint.sh | 2 -- src/Identity/entrypoint.sh | 2 -- util/Attachments/entrypoint.sh | 2 -- util/MsSql/entrypoint.sh | 2 -- util/Nginx/entrypoint.sh | 2 -- util/Setup/entrypoint.sh | 2 -- 8 files changed, 16 deletions(-) diff --git a/src/Admin/entrypoint.sh b/src/Admin/entrypoint.sh index 7d86122dba..cc9ba5d68f 100644 --- a/src/Admin/entrypoint.sh +++ b/src/Admin/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /app mkdir -p /etc/bitwarden/core mkdir -p /etc/bitwarden/logs diff --git a/src/Api/entrypoint.sh b/src/Api/entrypoint.sh index f2dc7e98af..1c3d96ef98 100644 --- a/src/Api/entrypoint.sh +++ b/src/Api/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME touch /var/log/cron.log chown $USERNAME:$USERNAME /var/log/cron.log chown -R $USERNAME:$USERNAME /app diff --git a/src/Icons/entrypoint.sh b/src/Icons/entrypoint.sh index 6946c297cf..9d26f3fc86 100644 --- a/src/Icons/entrypoint.sh +++ b/src/Icons/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /app chown -R $USERNAME:$USERNAME /etc/iconserver diff --git a/src/Identity/entrypoint.sh b/src/Identity/entrypoint.sh index 69206cbc42..99d238c39d 100644 --- a/src/Identity/entrypoint.sh +++ b/src/Identity/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME mkdir -p /etc/bitwarden/identity mkdir -p /etc/bitwarden/core mkdir -p /etc/bitwarden/logs diff --git a/util/Attachments/entrypoint.sh b/util/Attachments/entrypoint.sh index 46aba86e66..143473d422 100644 --- a/util/Attachments/entrypoint.sh +++ b/util/Attachments/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /bitwarden_server mkdir -p /etc/bitwarden/core/attachments chown -R $USERNAME:$USERNAME /etc/bitwarden diff --git a/util/MsSql/entrypoint.sh b/util/MsSql/entrypoint.sh index 36f782de78..ab453e7ad9 100644 --- a/util/MsSql/entrypoint.sh +++ b/util/MsSql/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME touch /var/log/cron.log chown $USERNAME:$USERNAME /var/log/cron.log mkdir -p /etc/bitwarden/mssql/backups diff --git a/util/Nginx/entrypoint.sh b/util/Nginx/entrypoint.sh index 20be4f46d9..13fff4b93c 100644 --- a/util/Nginx/entrypoint.sh +++ b/util/Nginx/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /etc/bitwarden cp /etc/bitwarden/nginx/default.conf /etc/nginx/conf.d/default.conf mkdir -p /etc/letsencrypt diff --git a/util/Setup/entrypoint.sh b/util/Setup/entrypoint.sh index b42e682900..4500d31ec8 100644 --- a/util/Setup/entrypoint.sh +++ b/util/Setup/entrypoint.sh @@ -18,8 +18,6 @@ then useradd -r -u $LUID -g $USERNAME $USERNAME fi -mkdir -p /home/$USERNAME -chown -R $USERNAME:$USERNAME /home/$USERNAME chown -R $USERNAME:$USERNAME /app mkdir -p /bitwarden/env mkdir -p /bitwarden/docker