summaryrefslogtreecommitdiff
path: root/src/migration-scripts/qos/1-to-2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-29 20:54:29 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-29 21:03:07 +0100
commit3c990f49e2bf9347bd2cc478995baa995ee822fd (patch)
treee30bd58aabeb76e91ed8898f6fa2a02d2433ca20 /src/migration-scripts/qos/1-to-2
parent5eab80d53be9c2a05d27a0e011949f7e4a9e38dd (diff)
downloadvyos-1x-3c990f49e2bf9347bd2cc478995baa995ee822fd.tar.gz
vyos-1x-3c990f49e2bf9347bd2cc478995baa995ee822fd.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.
Diffstat (limited to 'src/migration-scripts/qos/1-to-2')
0 files changed, 0 insertions, 0 deletions