From owner-freebsd-bugs Wed Mar 5 15:20:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA18862 for bugs-outgoing; Wed, 5 Mar 1997 15:20:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA18826; Wed, 5 Mar 1997 15:20:05 -0800 (PST) Resent-Date: Wed, 5 Mar 1997 15:20:05 -0800 (PST) Resent-Message-Id: <199703052320.PAA18826@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:(from nobody@localhost) by.freefall.freebsd.org.id.PAA18497;Wed; (8.8.5/8.8.5);, 5 Mar 1997 15:13:56.-0800 (PST) Message-Id: <199703052313.PAA18497@freefall.freebsd.org> Date: Wed, 5 Mar 1997 15:13:56 -0800 (PST) From: pius@iago.ienet.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: gnu/2888: chown in gnu/usr.bin/groff/mm/Makefile uses '.' instead of ':' to separate user from group Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2888 >Category: gnu >Synopsis: chown in gnu/usr.bin/groff/mm/Makefile uses '.' instead of ':' to separate user from group >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 5 15:20:03 PST 1997 >Last-Modified: >Originator: Pius Fischer >Organization: >Release: 2.2-961006-SNAP >Environment: FreeBSD iago.ienet.com 2.2-961006-SNAP FreeBSD 2.2-961006-SNAP #0: Tue Jan 7 13:59:56 PST 1997 terryl@iago.ienet.com:/usr/src/sys/compile/IAGO i386 >Description: There are two occurrences of chown in /usr/src/gnu/usr.bin/groff/mm/Makefile that use a period instead of a colon to separate the user from the group. This is a problem if chown is compiled without -DSUPPORT_DOT. The man page for chown(8) even says that the group operand must be preceded by a ':' and that previous versions of chown used a '.' to distinguish the user from the group but that this has been changed to a ':' so that user and group names can contain a dot. However, the man page isn't quite right since by default chown is compiled with -DSUPPORT_DOT. >How-To-Repeat: compile chown without -DSUPPORT_DOT, install it, and do a make world (the build falls over towards the end of the build-tools target) >Fix: /usr/src/gnu/usr.bin/groff/mm>diff -u Makefile~ Makefile --- Makefile~ Mon Sep 9 11:05:26 1996 +++ Makefile Wed Mar 5 14:43:20 1997 @@ -19,7 +19,7 @@ ${DIST_DIR}/tmac.m $(DESTDIR)$(TMACDIR)/tmac.mse test -d $(DESTDIR)$(TMACDIR)/mm || mkdir $(DESTDIR)$(TMACDIR)/mm - chown $(TMACOWN).$(TMACGRP) $(DESTDIR)$(TMACDIR)/mm + chown $(TMACOWN):$(TMACGRP) $(DESTDIR)$(TMACDIR)/mm chmod 755 $(DESTDIR)$(TMACDIR)/mm for f in $(FILES); do \ @@ -29,7 +29,7 @@ for f in $(LOCALE); do \ test -f $(DESTDIR)$(TMACDIR)/mm/$$f || \ touch $(DESTDIR)$(TMACDIR)/mm/$$f; \ - chown $(TMACOWN).$(TMACGRP) $(DESTDIR)$(TMACDIR)/mm/$$f; \ + chown $(TMACOWN):$(TMACGRP) $(DESTDIR)$(TMACDIR)/mm/$$f; \ chmod $(TMACMODE) $(DESTDIR)$(TMACDIR)/mm/$$f; \ done /usr/src/gnu/usr.bin/groff/mm> >Audit-Trail: >Unformatted: