From 6a2157a6441753049d4996257cebf5c5b45bce9c Mon Sep 17 00:00:00 2001 From: mooff Date: Sun, 5 Sep 2021 00:53:54 +0100 Subject: [PATCH] Create /etc/thelounge directory with 0700 permissions Sensitive information is protected by thelounge/thelounge#205 for Docker builds, but deb installs didn't benefit, due to the home dir already existing - created at build time. --- build-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-package b/build-package index a756531..c36a6e3 100755 --- a/build-package +++ b/build-package @@ -29,7 +29,7 @@ npm install -g --no-optional --prefix "$DESTDIR/usr" "thelounge@${NPMVERSION}" echo "/etc/thelounge" > "$DESTDIR/usr/lib/node_modules/thelounge/.thelounge_home" # Install configuration/home directory -install -dm775 "$DESTDIR/etc/thelounge" +install -dm700 "$DESTDIR/etc/thelounge" install -dm770 "$DESTDIR/etc/thelounge/users" install -Dm660 \ "$DESTDIR/usr/lib/node_modules/thelounge/defaults/config.js" \