You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test
Abhijeet Kasurde 367cad21dc
[stable-2.18] user: Fix homedir permissions when UMASK is unset in /etc/login.defs (#85709)
When a user doesn't exist and user module is used to create the user and the
homedir, adduser is called which parses HOME_MODE from /etc/login.defs, and when
not set calculates the mode from UMASK from the same file.

When a user already exists without homedir, and the user module is used to add a
home dir, it incorrectly ignores HOME_MODE, resulting in a world-readable home
dir when UMASK is not set. This is for example the case in Debian trixie and
later, and likely Ubuntu 25.04 and later.

(cherry picked from commit 3030c79)

Signed-off-by: Lee Garrett <lgarrett@rocketjump.eu>
Co-authored-by: Lee Garrett <leegarrett@users.noreply.github.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
4 months ago
..
integration [stable-2.18] user: Fix homedir permissions when UMASK is unset in /etc/login.defs (#85709) 4 months ago
lib/ansible_test ansible-test - Update Ansible Core CI auth (#85717) (#85769) 4 months ago
sanity ansible-doc display docs for modules w/o ext (#85299) (#85315) 6 months ago
support Typo fixes and other bits and bobs (#83672) 1 year ago
units ansible-test - Update Ansible Core CI auth (#85717) (#85769) 4 months ago