Date: Tue, 25 Jan 2000 08:33:54 -0800 (PST) From: lioux@linf.unb.br To: freebsd-gnats-submit@FreeBSD.org Subject: misc/16352: 3.4 stable src/release/sysinstall/anonFTP.c problem Message-ID: <20000125163354.3B5D214F4B@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 16352 >Category: misc >Synopsis: 3.4 stable src/release/sysinstall/anonFTP.c problem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 25 08:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: 3.4-STABLE cvsuped about Tue Jan 25 14:24:07 EDT 2000 from cvsup.br.freebsd.org >Organization: >Environment: FreeBSD Here.here 3.4-STABLE FreeBSD 3.4-STABLE #1: Tue Jan 25 12:47:11 EDT 2000 Here@Here.here:/usr/src/sys/compile/GENERIC i386 >Description: The src/release/sysinstall/anonFTP.c is not compiling due to a simple typo on line 287. The quotations (") inside the awk statement should have been escaped. >How-To-Repeat: Just compile the mentioned stable version >Fix: --- anonFTP.c.ORIG Tue Jan 25 14:21:45 2000 +++ anonFTP.c Tue Jan 25 14:22:00 2000 @@ -284,7 +284,7 @@ if (DITEM_STATUS(createFtpUser()) == DITEM_SUCCESS) { msgNotify("Copying password information for anon FTP."); - vsystem("awk -F: '{if ($3 < 10 || $1 == "ftp") print $0}' /etc/passw d > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir); + vsystem("awk -F: '{if ($3 < 10 || $1 == \"ftp\") print $0}' /etc/pas swd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir); vsystem("awk -F: '{if ($3 < 100) print $0}' /etc/group > %s/etc/grou p && chmod 444 %s/etc/group", tconf.homedir, tconf.homedir); vsystem("chown -R root.%s %s/pub", tconf.group, tconf.homedir); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000125163354.3B5D214F4B>