mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
debian: Don't change ownership recursively in postinst
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
d40ef19a25
commit
399647f93c
3
debian/postinst
vendored
3
debian/postinst
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user