+2000-06-01 Const Kaplinsky <const@ce.cctpu.edu.ru>
+
+ * ftp.c (ftp_retrieve_list): Change permissions only on plain
+ files.
+
2000-06-01 Hrvoje Niksic <hniksic@iskon.hr>
* url.c (str_url): Print the port number only if it's different
else if (f->tstamp == -1)
logprintf (LOG_NOTQUIET, _("%s: corrupt time-stamp.\n"), u->local);
- if (f->perms && dlthis)
+ if (f->perms && f->type == FT_PLAINFILE && dlthis)
chmod (u->local, f->perms);
else
DEBUGP (("Unrecognized permissions for %s.\n", u->local));