I have a private FTP server where some mirrors should have 777 permission because the files have to be accessible to all users using the server, and some with 770 permission, to be accessible to users of the group.

They all seem to default to 644 even with the --no-perms option added.
How do I use LFTP to set the permissions while mirroring?