diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-30 22:37:27 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-01 18:15:29 +0000 |
commit | 88a77db9ddd7f8322b059fe90fee8fbe85c73022 (patch) | |
tree | def02fc9a840b977b13bed07a24a19ff07ca236b /sphinx | |
parent | 13fddcfef2f9c13dd6e789fa9e8050011241e2b5 (diff) | |
download | vyos-1x-88a77db9ddd7f8322b059fe90fee8fbe85c73022.tar.gz vyos-1x-88a77db9ddd7f8322b059fe90fee8fbe85c73022.zip |
login: T5875: restore home directory permissions only when needed
This improves commit 3c990f49e ("login: T5875: restore home directory
permissions when re-adding user account") in a way that the home directory
owner is only altered if it differs from the expected owner.
Without this change on every boot we would alter the owner which could increase
the boot time if the home of a user is cluttered.
(cherry picked from commit 1b364428f79b7e4588a000fca40582ef968fc7fd)
Diffstat (limited to 'sphinx')
0 files changed, 0 insertions, 0 deletions