Estoy tratando de copiar archivos entre carpetas en un directorio montado.
Creo un nuevo directorio (y configuro chmod 777) y luego copio así:
async ({ destDir, files }) => { return await Promise.all( files.map((filePath) => { const fileName = path.basename(filePath); return fs .copyFile(filePath, path.join(destDir, fileName)) .then(() => fs.chmod(filePath, "777")); }), ); }y obtengo este error del que no puedo encontrar nada:
ENOTSUP: operation not supported on socket, copyfile ....Cualquier solucion seria bienvenida