From 399647f93cf427e716a183eb292e8494c566c9a9 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 27 Dec 2018 22:17:43 -0800 Subject: [PATCH] debian: Don't change ownership recursively in postinst Reviewed-by: James Valleroy --- debian/postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index befcb3cb2..0682cfa5f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -18,7 +18,8 @@ case "$1" in configure) addgroup --system --quiet plinth adduser --system --quiet --ingroup plinth --no-create-home --home /var/lib/plinth plinth - chown -R plinth: /var/lib/plinth + chown plinth: /var/lib/plinth + chown plinth: /var/lib/plinth/sessions if [ ! -e '/var/lib/freedombox/is-freedombox-disk-image' ]; then umask 377