I noticed that when I map the /var/www/html directory to a local directory the files copy accross but the rights change so that the main wp can no longer write to the directory. This causes unwanted behaviour if you then try to install plugins (e.g. on attempting to install the wp importer it asks for ftp information).