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:
@@ -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);
|
||||
}
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user