debian: Don't change ownership recursively in postinst

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2018-12-27 22:17:43 -08:00 committed by James Valleroy
parent d40ef19a25
commit 399647f93c
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

3
debian/postinst vendored
View File

@ -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