Your message dated Sun, 21 Aug 2022 20:23:31 +0000
with message-id <[email protected]>
and subject line Bug#1017694: fixed in adduser 3.127
has caused the Debian Bug report #1017694,
regarding adduser assigns users secondary group to files/directories
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1017694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017694
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: adduser
Version: 3.126
Severity: normal
X-Debbugs-Cc: [email protected]

Hi Maintainers,


While testing the welcoming DIRMODE change in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014901

I've found that the new users home directory and files copied from */etc/skel* are now owned by the users secondary group *(users)*

rather than being owned by the users primary group. Also found some applications in KDE/Plasma are now creating files/directories

owned by the users secondary group *(users)*. Is this expected behavior going forward?


Attached is the */etc/adduser.conf* replaced by the latest package.

New behaviour

root@Computer:~$ ls -la
total 20
drwx------ 2 testuserafter users         4096 Aug 19 15:42 .
drwxr-xr-x 5 root          root          4096 Aug 19 15:28 ..
-rw-r--r-- 1 testuserafter testuserafter    0 Aug 19 15:42 abc
-rw-r--r-- 1 testuserafter users          220 Aug 19 15:14 .bash_logout
-rw-r--r-- 1 testuserafter users         3526 Aug 19 15:14 .bashrc
-rw-r--r-- 1 testuserafter users          807 Aug 19 15:14 .profile


Old behaviour

root@Computer:/home/testuserbefore# ls -la
total 20
drwxr-xr-x 2 testuserbefore testuserbefore 4096 Aug 19 15:15 .
drwxr-xr-x 5 root           root           4096 Aug 19 15:15 ..
-rw-r--r-- 1 testuserbefore testuserbefore  220 Aug 19 15:15 .bash_logout
-rw-r--r-- 1 testuserbefore testuserbefore 3526 Aug 19 15:15 .bashrc
-rw-r--r-- 1 testuserbefore testuserbefore  807 Aug 19 15:15 .profile


Thanks

Ibaidul


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

Kernel: Linux 5.18.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages adduser depends on:
ii passwd 1:4.11.1+dfsg1-2

adduser recommends no packages.

Versions of packages adduser suggests:
ii cron 3.0pl1-149
ii liblocale-gettext-perl 1.07-4+b2
ii perl 5.34.0-5

-- debconf information:
adduser/title:
* adduser/homedir-permission: false
# /etc/adduser.conf: `adduser' configuration.
# See adduser(8) and adduser.conf(5) for full documentation.

# A commented out setting indicates that this is the default in the
# code. If you need to change those settings, remove the comment and
# make your intended change.

# The DSHELL variable specifies the default login shell on your
# system.
#DSHELL=/bin/bash

# The DHOME variable specifies the directory containing users' home
# directories.
#DHOME=/home

# If GROUPHOMES is "yes", then the home directories will be created as
# /home/groupname/user.
#GROUPHOMES=no

# If LETTERHOMES is "yes", then the created home directories will have
# an extra directory - the first letter of the user name. For example:
# /home/u/user.
#LETTERHOMES=no

# The SKEL variable specifies the directory containing "skeletal" user
# files; in other words, files such as a sample .profile that will be
# copied to the new user's home directory when it is created.
#SKEL=/etc/skel

# FIRST_SYSTEM_[GU]ID to LAST_SYSTEM_[GU]ID inclusive is the range for UIDs
# for dynamically allocated administrative and system accounts/groups.
# Please note that system software, such as the users allocated by the
# base-passwd package, may assume that UIDs less than 100 are unallocated.
#FIRST_SYSTEM_UID=100
#LAST_SYSTEM_UID=999

#FIRST_SYSTEM_GID=100
#LAST_SYSTEM_GID=999

# FIRST_[GU]ID to LAST_[GU]ID inclusive is the range of UIDs of dynamically
# allocated user accounts/groups.
#FIRST_UID=1000
#LAST_UID=59999

#FIRST_GID=1000
#LAST_GID=59999

# The USERGROUPS variable can be either "yes" or "no".  If "yes" each
# created user will be given their own group to use as a default.  If
# "no", each created user get the primary group defined below as
# USERS_GROUP or USERS_GID.
#USERGROUPS=yes

# Newly created users get this group as primary group if USERGROUPS
# "no", and as a supplemental group if USERGROUPS is "yes".
# Set one of the variables to reference the group. Don't set both.
#USERS_GID=100
#USERS_GROUP=users

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

# When creating system accounts: if SYS_DIR_MODE is set (and a home 
# location is specified), the directories will be created with the 
# specified node.  Otherwise the default mode 0755 will be used.
#SYS_DIR_MODE=0755

# If SETGID_HOME is "yes" home directories for users with their own
# group the setgid bit will be set. This was the default for
# versions << 3.13 of adduser. Because it has some bad side effects we
# no longer do this per default. If you want it nevertheless you can
# still set it here.  Note: this feature is DEPRECATED and will be
# removed in a future version of adduser; please use the DIR_MODE
# settings above instead.
#SETGID_HOME=no

# If QUOTAUSER is set, a default quota will be set from that user with
# `edquota -p QUOTAUSER newuser'
#QUOTAUSER=""

# If SKEL_IGNORE_REGEX is set, adduser will ignore files matching this
# regular expression when creating a new home directory
#SKEL_IGNORE_REGEX="(dpkg|ucf)-(old|new|dist|save)"

# Set this if you want the --add-extra-groups option to adduser to add
# new users to other groups.
# This is the list of groups that new non-system users will be added to
# Default:
#EXTRA_GROUPS="users"

# If ADD_EXTRA_GROUPS is set to something non-zero, the EXTRA_GROUPS
# option above will be default behavior for adding new, non-system users
#ADD_EXTRA_GROUPS=0

# check user and group names also against this regular expression.
#NAME_REGEX="^[a-z][-a-z0-9_]*\$?$"

# check system user and group names also against this regular expression.
#SYS_NAME_REGEX="^[a-z_][-a-z0-9_]*\$?$"

--- End Message ---
--- Begin Message ---
Source: adduser
Source-Version: 3.127
Done: Marc Haber <[email protected]>

We believe that the bug you reported is fixed in the latest version of
adduser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <[email protected]> (supplier of updated adduser 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 21 Aug 2022 21:42:09 +0200
Source: adduser
Architecture: source
Version: 3.127
Distribution: unstable
Urgency: medium
Maintainer: Debian Adduser Developers <[email protected]>
Changed-By: Marc Haber <[email protected]>
Closes: 57280 152195 398802 440801 541620 609114 678615 682156 1012492 1015283 
1015907 1016574 1017694
Changes:
 adduser (3.127) unstable; urgency=low
 .
   [ Jason Franklin ]
   * Document the intent of the --no-create-home option (Closes: #152195)
 .
   [ Marc Haber ]
   * create home directory with primary group of the user (Closes: #1017694)
   * update and extend README
 .
 adduser (3.126) experimental; urgency=medium
 .
   * more clear conffile handling in debian/preinst.
     Thanks to Simon McVittie (Closes: #1016574)
   * add postrm script cleaning up better after purge
   * add a Debian README, move too long DIR_MODE explanation from
     NEWS.Debian to README.
 .
 adduser (3.125) experimental; urgency=medium
 .
   [ Marc Haber ]
   * remove debconf. (Closes: #57280, #398802)
   * install (add|del)user.conf as examples.
   * install adduser.conf as dpkg-conffile directly to /etc.
     (Closes: #541620)
   * remove postinst/postrm. (Closes: #1012492)
 .
   [ Jason Franklin ]
   * Remove the unused "get_users_groups" subroutine. (Closes: #1015907)
 .
   [ Matt Barry ]
   * Do not check for group being empty on 'delgroup'. (Closes: #682156)
 .
 adduser (3.124) experimental; urgency=medium
 .
   * experimental upload
   * implement new USERS_GROUP semantics
     * adapt documentation
     * implement testcases
     * re-work adduser logic to support USERGROUPS mechanics.
       This also kind of drive-by implements --firstgid and --lastgid
       (Closes: #609114, #678615, #440801)
     * rework adduser.conf
   * improve test infrastructure
     * implement new test for non membership in group
     * implement new group_has_gid test
     * implement new apply_config_hash function.
   * fix bugs and docs in --add-extra-groups
   * update debian/copyright
   * Update of German program translation.
     Thanks to Dr. Tobias Quathamer (Closes: #1015283)
Checksums-Sha1:
 825f3ab6f8ffebc4f2e372c43acc0699586abdcc 1671 adduser_3.127.dsc
 52bd3f3f71426f27456beea06925c37795f0886d 228768 adduser_3.127.tar.xz
 b0ac6916d692a1e148333a817f5c800d94e48c17 6132 adduser_3.127_source.buildinfo
Checksums-Sha256:
 f1e0a1da2668caabdcd231ae50c2a2df56108bcf6f6b8ebd3578f33ec96f0890 1671 
adduser_3.127.dsc
 ec6e45491147b2b372fd2fff7d778489fab370f2a93af3a9295ca79219ed5f4d 228768 
adduser_3.127.tar.xz
 966920e6e0cae288a3cdae8d5e1c611a89c9c579e611efe75fa40ae97d051112 6132 
adduser_3.127_source.buildinfo
Files:
 b49370838a3d3315ebeff92c480c058a 1671 admin important adduser_3.127.dsc
 69659ccd0dd19c046f9ec6068ba291b6 228768 admin important adduser_3.127.tar.xz
 fd9e7f1f0d3db6ea8cea564729e8bd65 6132 admin important 
adduser_3.127_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE6QL5UJ/L0pcuNEbjj3cgEwEyBEIFAmMCi30ACgkQj3cgEwEy
BEIpOQ//f7leyhu+ByMO0c9MELEorP9WEHZF8RSCguOdZrtHBTcXUQFcxZsv3C6T
Dk1A0zsmN3XHrYUIOEASz31y416L0j/9Qxilh4qpB6TXTvSKPJwYayPtd4jVVzt1
XGX723xG8964KBfeNMPmUBcYnbhUOFu7oPzvuKL0r7wcaXIJ18ca3tnDX+VLiGbO
fJyM+1VaaWvEYHmXNNFj5+A0NFMNMmxcJc3FlyjuIP0L0LsXHULKKsNL8jn49RuK
0tQEZgeFs8N3AceBU9e1kUumrA2OsANZyy8kv3l7p0fEvZJwWJr1CYBljZLBOSGR
9cuS1bpWuK2NXB/P/PSQ0BnYb2HP94Sefqw+Okv6/LKjr93iGKMKimidpZY2auJl
3U/SSX8glGYXeOd7taCv96gH/G96xP7R2FgjrF8SAoOMVDf+xFeHcxWbk2azTWZf
O+KxDX/fGZNJrpYCAUj1OfO2i9cWKwO4uJrlYMxIhZVzBGh3NCMV3CEZFa7ldqBE
9UAy9/aVRX+ulQpgKBKPlL02FDKjml0M+Agk+5uSBjU7V2g+BONzWpdbjKcUMuxn
uLz8Wrc34hiEDkgp4MDMMheUWNJVC84XZnJhhHO3NfIu7p5JN2ipuWRdTT+cP9ke
SNvCv9dBbqJYzESJ1KCuzToT9/rOp1OoURt7H8KiVE9zBX8Seps=
=STub
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to