Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2012 19:20:07 GMT
From:      Alexander Pyhalov <apyhalov@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/169471: pw(8) deletes group &quot; username&quot; on userdel even if group &quot; username&quot; is not assoc. w/user &quot; username&quot; 
Message-ID:  <201209081920.q88JK7Em045977@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/169471; it has been noted by GNATS.

From: Alexander Pyhalov <apyhalov@gmail.com>
To: bug-followup@FreeBSD.org, dteske@FreeBSD.org
Cc:  
Subject: Re: bin/169471: pw(8) deletes group &quot;username&quot; on userdel
 even if group &quot;username&quot; is not assoc. w/user &quot;username&quot;
Date: Sat, 8 Sep 2012 23:12:52 +0400

 --047d7b670717d2cebb04c9358285
 Content-Type: text/plain; charset=ISO-8859-1
 
 This patch should solve the problem.
 
 --
 Best regards,
 Alexander Pyhalov
 
 --047d7b670717d2cebb04c9358285
 Content-Type: text/plain; charset=US-ASCII; name="patch_bin_169471.txt"
 Content-Disposition: attachment; filename="patch_bin_169471.txt"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_h6v3cfi90
 
 LS0tIC91c3Ivc3JjL3Vzci5zYmluL3B3L3B3X3VzZXIuYwkyMDEyLTA2LTA2IDIxOjQ3OjQzLjY2
 NjY1MjI1NCArMDQwMAorKysgcHdfdXNlci5jCTIwMTItMDktMDggMjM6MDY6NDAuNjc3NDM1Nzcy
 ICswNDAwCkBAIC0zODUsNiArMzg1LDggQEAKIAkJCWNoYXIgICAgICAgICAgICBmaWxlW01BWFBB
 VEhMRU5dOwogCQkJY2hhciAgICAgICAgICAgIGhvbWVbTUFYUEFUSExFTl07CiAJCQl1aWRfdCAg
 ICAgICAgICAgdWlkID0gcHdkLT5wd191aWQ7CisJCQlzdHJ1Y3QgZ3JvdXAJKmdyOworCQkJY2hh
 cgkJZ3JuYW1lW0xPR05BTUVTSVpFXTsKIAogCQkJaWYgKHN0cmNtcChwd2QtPnB3X25hbWUsICJy
 b290IikgPT0gMCkKIAkJCQllcnJ4KEVYX0RBVEFFUlIsICJjYW5ub3QgcmVtb3ZlIHVzZXIgJ3Jv
 b3QnIik7CkBAIC00MTEsNiArNDEzLDEyIEBACiAJCQkgKi8KIAkJCXNwcmludGYoZmlsZSwgIiVz
 LyVzIiwgX1BBVEhfTUFJTERJUiwgcHdkLT5wd19uYW1lKTsKIAkJCXN0cmxjcHkoaG9tZSwgcHdk
 LT5wd19kaXIsIHNpemVvZihob21lKSk7CisJCQlncj1HRVRHUkdJRChwd2QtPnB3X2dpZCk7CisJ
 CQlpZihncil7CisJCQkJc3RybGNweShncm5hbWUsZ3ItPmdyX25hbWUsTE9HTkFNRVNJWkUpOwor
 CQkJfSBlbHNlIHsKKwkJCQlncm5hbWVbMF09J1wwJzsKKwkJCX0KIAogCQkJcmMgPSBkZWxwd2Vu
 dChwd2QpOwogCQkJaWYgKHJjID09IC0xKQpAQCAtNDI4LDggKzQzNiw4IEBACiAJCQkJCXdhcm4o
 IldBUk5JTkc6IE5JUyBwYXNzd2QgdXBkYXRlIik7CiAJCQkJLyogbm9uLWZhdGFsICovCiAJCQl9
 Ci0KLQkJCWVkaXRncm91cHMoYV9uYW1lLT52YWwsIE5VTEwpOworCQkJaWYoIXN0cm5jbXAoYV9u
 YW1lLT52YWwsZ3JuYW1lLExPR05BTUVTSVpFKSkKKwkJCQllZGl0Z3JvdXBzKGFfbmFtZS0+dmFs
 LCBOVUxMKTsKIAogCQkJcHdfbG9nKGNuZiwgbW9kZSwgV19VU0VSLCAiJXMoJWxkKSBhY2NvdW50
 IHJlbW92ZWQiLCBhX25hbWUtPnZhbCwgKGxvbmcpIHVpZCk7CiAK
 --047d7b670717d2cebb04c9358285--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209081920.q88JK7Em045977>