title: Why does the lftp mirror command chmod files
body: <p>I'm very new to lftp, so forgive my ignorance.</p>
  
  <p>I just ran a dry run of my lftp script, which consists basically of a line like this:
  mirror -Rv -x regexp --only-existing --only-newer --dry-run /local/root/dir /remote/dir</p>
  
  <p>When it prints what it's going to do, it wants to chmod a bunch of files - files which I grabbed from svn, never modified, and which should be identical to the ones on the server.</p>
  
  <p>My local machine is Ubuntu, and the remote is a Windows server. I have a few questions:</p>
  
  <ol>
  <li>Why is it trying to do that? Does it try to match file permissions from the local with the remote?</li>
  <li>What will happen when it tries to chmod the files? As I understand it, Windows doesn't support chmod - will it just fail gracefully and leave the files alone?</li>
  </ol>
  
  <p>Many thanks!</p>