Ticket #367 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

nss-nonlocal should disallow numeric group names

Reported by: andersk Owned by:
Priority: normal Milestone:
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Currently, chown 0:0 file or chgrp 0 file causes the file to end up with gid 68499, which is the Moira group with name “0”. So nss_nonlocal should probably be filtering that group.

(This causes problems with dh_fixperms when building Debian packages. There is probably also a dh_fixperms bug here that should be reported upstream.)

Change History

comment:1 Changed 15 years ago by andersk

Note that there are also legitimate groups with numeric names, such as “3” and “2012”. It might be idealistically valid, if not necessarily practical, to decide that applications that look up a gid as a name are buggy. Though tlyu notes that this behavior is specified by POSIX for the chown(1) and chgrp(1) commands, and it may be hard for scripts to work around that.

comment:2 Changed 15 years ago by andersk

  • Status changed from new to proposed

comment:3 Changed 15 years ago by broder

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.