[Adduser-devel] Bug#496683: adduser assigns wrong group if setgid=set in parent

Bob Goldberg bgoldberg at homeaccess.com
Tue Aug 26 18:23:11 UTC 2008


Package: adduser
Version: 3.102
Severity: important


The home directory that adduser creates does not properly inherit the 
group name from its parent (when setgid is set).
 
ie:
In the adduser.conf file, I have DIR_MODE="2770", and the parent 
directory in which the user's dir. is created is mode=2771.
When adduser creates the home dir. its GID is set to the users' group, 
not the parent dir's group.
If DIR_MODE="0770", the users' dir. is not setgid=yes

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]       1.5.11etch2  Debian configuration management sy
ii  passwd                      1:4.0.18.1-7 change and administer password and
ii  perl-base                   5.8.8-7etch3 The Pathologically Eclectic Rubbis

adduser recommends no packages.

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





More information about the Adduser-devel mailing list