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
This commit is contained in:
Assar Westerlund
1996-05-05 04:46:00 +00:00
parent e29b8214bc
commit d9b00b483d
2 changed files with 3 additions and 3 deletions

View File

@@ -327,12 +327,12 @@ cmd
| LIST check_login CRLF | LIST check_login CRLF
{ {
if ($2) if ($2)
retrieve("/bin/ls -lgA", ""); retrieve("/bin/ls -lA", "");
} }
| LIST check_login SP pathname CRLF | LIST check_login SP pathname CRLF
{ {
if ($2 && $4 != NULL) if ($2 && $4 != NULL)
retrieve("/bin/ls -lgA %s", $4); retrieve("/bin/ls -lA %s", $4);
if ($4 != NULL) if ($4 != NULL)
free($4); free($4);
} }

View File

@@ -1232,7 +1232,7 @@ statfilecmd(char *filename)
int c; int c;
char line[LINE_MAX]; 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"); fin = ftpd_popen(line, "r");
lreply(211, "status of %s:", filename); lreply(211, "status of %s:", filename);
while ((c = getc(fin)) != EOF) { while ((c = getc(fin)) != EOF) {