From d9b00b483de30fd812904d69cdda8269b139a3f5 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 5 May 1996 04:46:00 +0000 Subject: [PATCH] Do not use -g with ls, it makes sysV ls only give group names. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@498 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpcmd.y | 4 ++-- appl/ftp/ftpd/ftpd.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appl/ftp/ftpd/ftpcmd.y b/appl/ftp/ftpd/ftpcmd.y index 8c3ae683c..2cf9799ed 100644 --- a/appl/ftp/ftpd/ftpcmd.y +++ b/appl/ftp/ftpd/ftpcmd.y @@ -327,12 +327,12 @@ cmd | LIST check_login CRLF { if ($2) - retrieve("/bin/ls -lgA", ""); + retrieve("/bin/ls -lA", ""); } | LIST check_login SP pathname CRLF { if ($2 && $4 != NULL) - retrieve("/bin/ls -lgA %s", $4); + retrieve("/bin/ls -lA %s", $4); if ($4 != NULL) free($4); } diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index 7c3b76d98..4795ccdf8 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -1232,7 +1232,7 @@ statfilecmd(char *filename) int c; char line[LINE_MAX]; - (void)snprintf(line, sizeof(line), "/bin/ls -lgA %s", filename); + (void)snprintf(line, sizeof(line), "/bin/ls -lA %s", filename); fin = ftpd_popen(line, "r"); lreply(211, "status of %s:", filename); while ((c = getc(fin)) != EOF) {