From nobody@FreeBSD.org  Wed Dec  7 06:47:26 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 07D5916A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Dec 2005 06:47:26 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B660643D5A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Dec 2005 06:47:25 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jB76lPt3075317
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Dec 2005 06:47:25 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jB76lPob075316;
	Wed, 7 Dec 2005 06:47:25 GMT
	(envelope-from nobody)
Message-Id: <200512070647.jB76lPob075316@www.freebsd.org>
Date: Wed, 7 Dec 2005 06:47:25 GMT
From: "Charlie M. McDonald" <BoredOutkast@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: During installation, the 'chown' command...
X-Send-Pr-Version: www-2.3

>Number:         90057
>Category:       bin
>Synopsis:       [sysinstall] [patch] chown: root.operator: Invalid argument
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 07 06:50:02 GMT 2005
>Closed-Date:    Tue Jan 24 18:36:08 GMT 2006
>Last-Modified:  Tue Jan 24 18:36:08 GMT 2006
>Originator:     Charlie M. McDonald
>Release:        6.0-RELEASE
>Organization:
None
>Environment:
FreeBSD pc5.zanphar.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13
UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
During the installation of FreeBSD 6.0-RELEASE, I noticed the following
after I had pressed ALT+F2 to switch to channel 2:

# chown: root.operator: Invalid argument

I've also noticed this during the installation of the 5.1-RELEASE and
5.4-RELEASE series of FreeBSD as well. The system that FreeBSD 6.0 is
being installed on, as with 5.0 releases is a:

   1. Pentium II 233 MHZ
   2. 96 MB PC-66 SDREAM
   3.  HP CD-RW ReWritable Plus!
       3.1. 2GB IBM SCSI2 HD
       3.2. 2GB IBM SCSI2 HD
       3.3. 4GB IBM SCSI2 HD
       3.4. 2GB IBM SCSI2 HD
   4. SiS 2632(?) Video (AGP/DVD)
   5. NETGEAR FA310TX (10/100 LAN)

The FreeBSD releases have been installed multiple times because I am trying
to find one that best suits that specific system.
>How-To-Repeat:
During the installation from CD/DVD-ROM.
>Fix:
              
>Release-Note:
>Audit-Trail:

From: =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To: bug-followup@FreeBSD.org,  BoredOutkast@yahoo.com
Cc:  
Subject: Re: i386/90057: During installation, the 'chown' command...
Date: Wed, 07 Dec 2005 09:21:12 +0100

 This is a multi-part message in MIME format.
 --------------000905010708060207070701
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed
 Content-Transfer-Encoding: 7bit
 
 The attached patch fixes this problem for all upcoming releases.
 
 --------------000905010708060207070701
 Content-Type: text/plain;
  name="PR90057-2005120701.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="PR90057-2005120701.diff"
 
 --- src/usr.sbin/sysinstall/anonFTP.c.orig	Wed Dec  7 09:08:02 2005
 +++ src/usr.sbin/sysinstall/anonFTP.c	Wed Dec  7 09:08:19 2005
 @@ -286,7 +286,7 @@
      
      if (directory_exists(tconf.homedir)) {
  	msgNotify("Configuring %s for use by anon FTP.", tconf.homedir);
 -	vsystem("chmod 555 %s && chown root.%s %s", tconf.homedir, tconf.group, tconf.homedir);
 +	vsystem("chmod 555 %s && chown root:%s %s", tconf.homedir, tconf.group, tconf.homedir);
  	vsystem("mkdir %s/etc && chmod 555 %s/etc", tconf.homedir, tconf.homedir);
  	vsystem("mkdir -p %s/pub", tconf.homedir);
  	if (tconf.upload[0]) {
 @@ -300,7 +300,7 @@
  	    vsystem("/usr/sbin/pwd_mkdb -d %s/etc %s/etc/master.passwd && chmod 444 %s/etc/pwd.db", tconf.homedir, tconf.homedir, tconf.homedir);
  	    vsystem("rm -f %s/etc/master.passwd %s/etc/spwd.db", tconf.homedir, tconf.homedir);
  	    vsystem("awk -F: '{if ((substr($1, 1, 1) != \"+\") && (substr($1, 1, 1) != \"-\") && ($3 < 100)) print $0}' /etc/group > %s/etc/group && chmod 444 %s/etc/group", tconf.homedir, tconf.homedir);
 -	    vsystem("chown -R root.%s %s/pub", tconf.group, tconf.homedir);
 +	    vsystem("chown -R root:%s %s/pub", tconf.group, tconf.homedir);
  	}
  	else {
  	    msgConfirm("Unable to create FTP user!  Anonymous FTP setup failed.");
 
 --------------000905010708060207070701--
Responsible-Changed-From-To: freebsd-i386->freebsd-qa 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jan 13 06:14:03 UTC 2006 
Responsible-Changed-Why:  
Reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90057 
Responsible-Changed-From-To: freebsd-qa->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Fri Jan 13 12:08:10 UTC 2006 
Responsible-Changed-Why:  
Grab this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90057 
State-Changed-From-To: open->patched 
State-Changed-By: ceri 
State-Changed-When: Sun Jan 15 22:42:41 UTC 2006 
State-Changed-Why:  
Committed to -HEAD, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90057 
State-Changed-From-To: patched->closed 
State-Changed-By: ceri 
State-Changed-When: Tue Jan 24 18:35:50 UTC 2006 
State-Changed-Why:  
Pulled back to RELENG_5 and RELENG_6, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90057 
>Unformatted:
