diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-11-12 17:16:35 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-11-29 15:40:53 +0000 |
commit | f2fef8e3a84507ae15e40ac9b37256a4f7484500 (patch) | |
tree | 02f3241cdc63213668c8299bb3c4b02b59335ee4 /modules/pam_unix/unix_chkpwd.c | |
parent | 8d082da1bc993b5b061ae81a9743891328e04ce6 (diff) | |
download | pam-f2fef8e3a84507ae15e40ac9b37256a4f7484500.tar.gz pam-f2fef8e3a84507ae15e40ac9b37256a4f7484500.tar.bz2 pam-f2fef8e3a84507ae15e40ac9b37256a4f7484500.zip |
pam_mkhomedir: always call chown/chmod for dir
In some error cases in create_homedir ownership and mode of the newly
created directory are not set. Always do so to prevent root-owned
directories as error leftovers.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_unix/unix_chkpwd.c')
0 files changed, 0 insertions, 0 deletions