FS#8050 - The "shadow" package: adduser changes home directory permissions set by useradd
Attached to Project:
Arch Linux
Opened by Oleg Nitz (olegnitz) - Tuesday, 18 September 2007, 08:17 GMT
Last edited by Tom Killian (tomk) - Friday, 30 November 2007, 11:54 GMT
Opened by Oleg Nitz (olegnitz) - Tuesday, 18 September 2007, 08:17 GMT
Last edited by Tom Killian (tomk) - Friday, 30 November 2007, 11:54 GMT
|
Details
Description:
"useradd -m" creates a home directory with permissions defined by the parameter UNAME in /etc/login.defs But if I use the adduser script, it first calls "useradd -m" and then set permissions of the home directory to the fixed value 711 which is specified in the script (see "defchmod" variable) and cannot be changed via configuration files. Additional info: * package version(s) shadow 4.0.18.1-5 |
This task depends upon
Closed by Tom Killian (tomk)
Friday, 30 November 2007, 11:54 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in shadow 4.0.18.2-1
Friday, 30 November 2007, 11:54 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in shadow 4.0.18.2-1
As your solution is also unclean IMO, I am leaving this as it is.
FS#8051and, IMO, if adduser is our script (it is) we should update it and make it as versatile as possible