{"action":"created","issue":{"url":"https://api.github.com/repos/Parallels/vagrant-parallels/issues/103","labels_url":"https://api.github.com/repos/Parallels/vagrant-parallels/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/Parallels/vagrant-parallels/issues/103/comments","events_url":"https://api.github.com/repos/Parallels/vagrant-parallels/issues/103/events","html_url":"https://github.com/Parallels/vagrant-parallels/issues/103","id":29962438,"number":103,"title":"`mount_options` in `config.vm.synced_folder` error","user":{"login":"troymccabe","id":1299743,"avatar_url":"https://avatars.githubusercontent.com/u/1299743?v=3","gravatar_id":"","url":"https://api.github.com/users/troymccabe","html_url":"https://github.com/troymccabe","followers_url":"https://api.github.com/users/troymccabe/followers","following_url":"https://api.github.com/users/troymccabe/following{/other_user}","gists_url":"https://api.github.com/users/troymccabe/gists{/gist_id}","starred_url":"https://api.github.com/users/troymccabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troymccabe/subscriptions","organizations_url":"https://api.github.com/users/troymccabe/orgs","repos_url":"https://api.github.com/users/troymccabe/repos","events_url":"https://api.github.com/users/troymccabe/events{/privacy}","received_events_url":"https://api.github.com/users/troymccabe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-03-22T14:47:20Z","updated_at":"2015-12-16T18:58:49Z","closed_at":"2014-03-23T16:07:47Z","body":"Admittedly, mounted volumes & sharing is not a strong suit of mine, but I've tried everything I can think of to get this working & have been unable to. I'd appreciate any assistance you can provide (or tell me if I'm missing something)\r\n\r\n### Issue details\r\n\r\nWhen using VirtualBox as the provider, I need to provide mount_options as so: `[...rest of synced_folder config...], mount_options: [\"dmode=775\",\"fmode=664\"]`\r\n\r\nWhen I attempt this using Parallels as the provider, I get the following:\r\n\r\n```\r\n$ vagrant reload --provision\r\n==> default: Attempting graceful shutdown of VM...\r\n...snip...\r\n==> default: Mounting shared folders...\r\n    default: /var/www => {HOST_DIR}\r\nFailed to mount folders in Linux guest. This is usually because\r\nthe \"vboxsf\" file system is not available. Please verify that\r\nthe guest additions are properly installed in the guest and\r\ncan work properly. The command attempted was:\r\n\r\nmount -t prl_fs -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3`,dmode=775,fmode=664 var_www /var/www\r\nmount -t prl_fs -o uid=`id -u vagrant`,gid=`id -g vagrant`,dmode=775,fmode=664 var_www /var/www\r\n```\r\n\r\nWhen I remove `mount_options`, it goes through the mounting process fine, but fails on provision (this failure cascades into other provision actions):\r\n```\r\nError: Failed to set group to '33': Operation not permitted - /var/www\r\nError: /Stage[main]/Main/File[/var/www]/group: change from vagrant to www-data failed: Failed to set group to '33': Operation not permitted - /var/www\r\n```\r\n\r\nI've also tried `chown`ing & `chmod`ing as the first item in the Puppet manifest, but still no go there either.\r\n\r\n### Relevant info\r\nOSX version: 10.9.2\r\nParallels version: 9.0.24217 rev 979618\r\nVagrant version: 1.5.1\r\nBox url: https://vagrantcloud.com/parallels/ubuntu-12.04/version/1/provider/parallels.box\r\nSynced folder config:\r\n```\r\n  data['vm']['synced_folder'].each do |i, folder|\r\n    if folder['source'] != '' && folder['target'] != '' && folder['id'] != ''\r\n      nfs = (folder['nfs'] == \"true\") ? \"nfs\" : nil\r\n      config.vm.synced_folder \"#{folder['source']}\", \"#{folder['target']}\", id: \"#{folder['id']}\", type: nfs, mount_options: [\"dmode=775\",\"fmode=664\"]\r\n    end\r\n  end\r\n```\r\nProvider config:\r\n```\r\n  config.vm.provider :parallels do |parallels, override|\r\n    override.vm.box = \"dev-parallels\"\r\n    override.vm.box_url = \"https://vagrantcloud.com/parallels/ubuntu-12.04/version/1/provider/parallels.box\"\r\n\r\n    parallels.name = data['vm']['box']\r\n    parallels.memory = 512\r\n    parallels.cpus = 2\r\n    parallels.check_guest_tools = false\r\n  end\r\n```"},"comment":{"url":"https://api.github.com/repos/Parallels/vagrant-parallels/issues/comments/165211604","html_url":"https://github.com/Parallels/vagrant-parallels/issues/103#issuecomment-165211604","issue_url":"https://api.github.com/repos/Parallels/vagrant-parallels/issues/103","id":165211604,"user":{"login":"itsazzad","id":54909,"avatar_url":"https://avatars.githubusercontent.com/u/54909?v=3","gravatar_id":"","url":"https://api.github.com/users/itsazzad","html_url":"https://github.com/itsazzad","followers_url":"https://api.github.com/users/itsazzad/followers","following_url":"https://api.github.com/users/itsazzad/following{/other_user}","gists_url":"https://api.github.com/users/itsazzad/gists{/gist_id}","starred_url":"https://api.github.com/users/itsazzad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsazzad/subscriptions","organizations_url":"https://api.github.com/users/itsazzad/orgs","repos_url":"https://api.github.com/users/itsazzad/repos","events_url":"https://api.github.com/users/itsazzad/events{/privacy}","received_events_url":"https://api.github.com/users/itsazzad/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T18:58:49Z","updated_at":"2015-12-16T18:58:49Z","body":"@legal90 \r\nHow is it to use?:\r\n---\r\n  config.nfs.map_uid = Process.uid\r\n  config.nfs.map_gid = Process.gid\r\n---"}}