Jim Meyering wrote:
Helge Hafting <[EMAIL PROTECTED]> wrote:
Package: coreutils
Version: 5.97-5
Severity: important
Actually a critical bug as it prevents bootup. On the other hand,
it probably don't affect that many people yet.
The problem is that this command:
chmod 0:0 filename
Surely, you mean "chown", not chmod.
Correct, I meant "chown".
will do a completely unnecessary call into the name service switch.
This is unnecessary as the user and group is provided numerically.
It is of course necessary with "chmod username:groupname file"
but that is a different case.
Sorry, but chown has to perform the DB look-up even for numeric
user- and group names. This is long-standing practice, as well
as a POSIX requirement.
Urgh. So posix is broken here too. The only use I can imagine for
ascii-numeric userid/groups (that maps to other numbers) is
rootkits. Nice way of obscuring things. Definitely one of the cases
where I'd like to be incompatible on purpose. Seems you disagree
though - oh well.
Helge Hafting
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]