diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-29 20:54:29 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-30 09:57:14 +0000 |
commit | 92ca844d7a0492ecc1464a9bf18eecd72ac6e907 (patch) | |
tree | dfa08a7917249c20e0295990bddb5c12fcdb4f43 /smoketest/scripts/cli/test_protocols_ospfv3.py | |
parent | 93427954f3abbce755847e61d0dd6471dce1bdd9 (diff) | |
download | vyos-1x-92ca844d7a0492ecc1464a9bf18eecd72ac6e907.tar.gz vyos-1x-92ca844d7a0492ecc1464a9bf18eecd72ac6e907.zip |
login: T5875: restore home directory permissions when re-adding user account
After deleting a user account and working with a newly added account, we see
that after rebooting in the previously saved configuration, the user is
re-added but it's home directory might have an old UID set on the filesystem.
This is due to the fact that vyos config does not store UIDs. When adding a
user account to the system we now check if the home directory already exists
and adjust the ownership to the new UID.
(cherry picked from commit 3c990f49e2bf9347bd2cc478995baa995ee822fd)
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_ospfv3.py')
0 files changed, 0 insertions, 0 deletions