Package: adduser
Version: 3.118
Followup-For: Bug #442627

Dear Maintainer,

Unless I'm wrong, I expected the home directories to be set to mode 0700. 
Instead, they are still set to 0755 because /etc/adduser.conf still has:

# If DIR_MODE is set, directories will be created with the specified
# mode. Otherwise the default mode 0755 will be used.
DIR_MODE=0755

Can this be set by default? From the security point of view alone it should be 
the route to go.
When the package is updated it should ask the user if this wants to be set, say 
if the file was modified recently.

Thanks!

Cheers,

Dario Susman


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]  1.5.74
ii  passwd                 1:4.8.1-1

adduser recommends no packages.

Versions of packages adduser suggests:
ii  liblocale-gettext-perl  1.07-4
ii  perl                    5.30.2-1

-- debconf information:
  adduser/homedir-permission: true
  adduser/title:

Reply via email to