mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
Stop deleting system user on remove/purge
This is widely considered bad practice, as the kernel recycles UIDs/GIDs. So any potential leftover file/directory can then become owned by the next user/group that gets added, with unpredictable consequences.
This commit is contained in:
parent
529bbf77df
commit
a4b3d53141
1
debian/freedombox.postrm
vendored
1
debian/freedombox.postrm
vendored
@ -4,7 +4,6 @@ set -e
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
purge)
|
purge)
|
||||||
deluser --system --quiet plinth || true
|
|
||||||
rm -rf /var/lib/plinth
|
rm -rf /var/lib/plinth
|
||||||
|
|
||||||
# Remove legacy directory too
|
# Remove legacy directory too
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user