[Pkg-shadow-commits] r2953 - upstream/trunk/src
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Tue May 19 22:12:27 UTC 2009
Author: nekral-guest
Date: 2009-05-19 22:12:27 +0000 (Tue, 19 May 2009)
New Revision: 2953
Modified:
upstream/trunk/src/usermod.c
Log:
Added FIXMEs.
Modified: upstream/trunk/src/usermod.c
===================================================================
--- upstream/trunk/src/usermod.c 2009-05-19 22:00:14 UTC (rev 2952)
+++ upstream/trunk/src/usermod.c 2009-05-19 22:12:27 UTC (rev 2953)
@@ -1425,6 +1425,10 @@
rmdir (user_newhome);
fail_exit (E_HOMEDIR);
}
+ // FIXME: the current uid & gid should
+ // also be provided so that only the files
+ // owned by the user/group have their
+ // ownership changed.
if (copy_tree (user_home, user_newhome,
uflg ? (long int)user_newid : -1,
gflg ? (long int)user_newgid : -1) == 0) {
@@ -1793,7 +1797,7 @@
}
#endif
- if (uflg) {
+ if (uflg) { // FIXME: gflg also, except for faillog/lastlog
update_lastlog ();
update_faillog ();
More information about the Pkg-shadow-commits
mailing list