[Pkg-shadow-commits] r938 - in trunk/debian: . patches

Nicolas FRANCOIS nekral-guest at costa.debian.org
Fri Mar 31 08:15:04 UTC 2006


Author: nekral-guest
Date: 2006-03-31 08:15:03 +0000 (Fri, 31 Mar 2006)
New Revision: 938

Modified:
   trunk/debian/changelog
   trunk/debian/patches/467_useradd_-r_LSB
Log:
There were two chmod, but no chown in create_home.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-03-30 13:18:22 UTC (rev 937)
+++ trunk/debian/changelog	2006-03-31 08:15:03 UTC (rev 938)
@@ -13,6 +13,8 @@
           To avoid breaking packages using the old-style way to pass
           arguments, set Conflicts with "gnunet, amavisd-new, python-4suite,
           backupninja (<= 0.9.3-4), echolot (<< 2.1.8-4)"
+    - 467_useradd_-r_LSB. Do not forgot to change the owner of the new home
+      directory. Closes: #360179
   * Upstream bugs or fixes not already fixed in upstream releases or CVS:
     - 486_chgpasswd.8: add a manpage for chgpasswd.
 

Modified: trunk/debian/patches/467_useradd_-r_LSB
===================================================================
--- trunk/debian/patches/467_useradd_-r_LSB	2006-03-30 13:18:22 UTC (rev 937)
+++ trunk/debian/patches/467_useradd_-r_LSB	2006-03-31 08:15:03 UTC (rev 938)
@@ -125,9 +125,9 @@
 +				 	Prog, user_home);
 +				fail_exit (E_HOMEDIR);
 +			}
++			chown (user_home, user_id, user_gid);
 +			chmod (user_home,
 +			       0777 & ~getdef_num ("UMASK", GETDEF_DEFAULT_UMASK));
-+			chmod (user_home, 0777 & ~getdef_num ("UMASK", 022));
 +			home_added++;
 +  #ifdef WITH_AUDIT
 +			audit_logger (AUDIT_USER_CHAUTHTOK, Prog,




More information about the Pkg-shadow-commits mailing list