[Pkg-shadow-devel] patch for usermod

Tomasz Kłoczko kloczek@zie.pg.gda.pl
Thu, 16 Jun 2005 11:55:08 +0200 (CEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--568760595-388043905-1118915708=:3717
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Thu, 16 Jun 2005, Nicolas [iso-8859-1] Fran=E7ois wrote:

> Hello Tomasz,
>=20
> Here is a patch for usermod.
>=20
> When the home directory is changed, if the old directory was copied
> successfully, it is removed with remove_tree(old_home) and rmdir(oldname)=
=2E
> But if one of them (remove_tree or rmdir) fails, the new home directory i=
s
> removed.
>=20
> This can lead to an inconsistent user entry (no more valid old or new hom=
e
> directory).
>=20
> This patch should avoid this and issue an additional warning in the worst
> case.
>=20
> more info at: http://bugs.debian.org/166369
>=20
> This patch adds a new message, so if you already sent translation
> requests, you can delay it for 4.0.11. (just say if you will include it)

Looks good .. +/- indentation :o) (I'll commit this ASAP).

In each directory is .indent.pro file with project indentation definition.=
=20
So please remember run "indent <file>" before generate patch for use
indentation style used in shadow :)

kloczek
--=20
-----------------------------------------------------------
*Ludzie nie maj=C4=85 problem=C3=B3w, tylko sobie sami je stwarzaj=C4=85*
-----------------------------------------------------------
Tomasz K=C5=82oczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gd=
a.pl*
--568760595-388043905-1118915708=:3717--