{"id":16825,"date":"2016-01-20T23:18:01","date_gmt":"2016-01-20T14:18:01","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=16825"},"modified":"2016-05-21T12:26:12","modified_gmt":"2016-05-21T03:26:12","slug":"cannot-mount-synced-folder-on-vagrant","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2016\/01\/cannot-mount-synced-folder-on-vagrant.html","title":{"rendered":"Vagrant\u3067\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8\u3067\u304d\u306a\u304b\u3063\u305f"},"content":{"rendered":"<p>Vagrant\u4e0a\u306eVCCW\u3092\u4f7f\u3063\u3066\u3001WordPress\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u306b\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2015\/06\/developping-env-with-vccw.html\" rel=\"_RAclick\">VCCW\u3067WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9 : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2015\u5e746\u670817\u65e5)<\/em><\/li>\n<\/ul>\n[amazonjs asin=\"B00M939Y0I\" locale=\"JP\"]\n<p>MacBook Pro Retina 13 (Early 2015)\u672c\u4f53\u306e\u30c9\u30e9\u30a4\u30d6\u5bb9\u91cf\u4e0d\u8db3\u306e\u305f\u3081\u3001vccw\u74b0\u5883\u30c7\u30fc\u30bf\u3068VirtualBox VMs\u30d5\u30a9\u30eb\u30c0\u3092\u3001NAS(FreeBSD+Netatalk)\u306b\u79fb\u3057\u307e\u3057\u305f\u3002VirtualBox VMs\u306e\u306e\u65b9\u306f\u3001\u672c\u4f53\u30c9\u30e9\u30a4\u30d6\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u3001\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u5f35\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>$ cd\r\n$ ln -s \/Volumes\/oichinokata-home\/VirtualBox\\ VMs\r\n<\/pre>\n<p>vagrant up\u3067\u3001WordPress\u3092\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\u3001\u7acb\u3061\u4e0a\u304c\u308a\u307e\u305b\u3093\u3002VM\u81ea\u4f53\u306f\u7acb\u3061\u4e0a\u304c\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3059\u304c\u3001\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u539f\u56e0\u306f\u3001\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u306epermission\u304c0600\u306b\u306a\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u305f\u3081\u3067\u30590660\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre>$ ls -l \/Volumes\/oichinokata-home\/vccw\/.vagrant\/machines\/vccw.dev\/virtualbox\/private_key\r\n-rw-rw----  1 oichinokata  staff  1675  6 18  2015 \/Volumes\/oichinokata-home\/vccw\/.vagrant\/machines\/vccw.dev\/virtualbox\/private_key\r\n<\/pre>\n<p>\u3053\u306e\u72b6\u614b\u3067\u8d77\u52d5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre>$ vagrant up\r\nBringing machine 'vccw.dev' up with 'virtualbox' provider...\r\n==&gt; vccw.dev: Clearing any previously set forwarded ports...\r\n==&gt; vccw.dev: Clearing any previously set network interfaces...\r\n==&gt; vccw.dev: Preparing network interfaces based on configuration...\r\n\u00a0\u00a0\u00a0 vccw.dev: Adapter 1: nat\r\n\u00a0\u00a0\u00a0 vccw.dev: Adapter 2: hostonly\r\n==&gt; vccw.dev: Forwarding ports...\r\n\u00a0\u00a0\u00a0 vccw.dev: 22 (guest) =&gt; 2222 (host) (adapter 1)\r\n==&gt; vccw.dev: Running 'pre-boot' VM customizations...\r\n==&gt; vccw.dev: Booting VM...\r\n==&gt; vccw.dev: Waiting for machine to boot. This may take a few minutes...\r\n<span style=\"color: #ff0000;\">The private key to connect to this box via SSH has invalid permissions<\/span>\r\n<span style=\"color: #ff0000;\">set on it. The permissions of the private key should be set to 0600, otherwise SSH will<\/span>\r\n<span style=\"color: #ff0000;\">ignore the key. Vagrant tried to do this automatically for you but failed. Please set the<\/span>\r\n<span style=\"color: #ff0000;\">permissions on the following file to 0600 and then try running this command again:<\/span>\r\n\r\n<span style=\"color: #ff0000;\">\/Volumes\/oichinokata-home\/vccw\/.vagrant\/machines\/vccw.dev\/virtualbox\/private_key<\/span>\r\n\r\n<span style=\"color: #ff0000;\">Note that this error occurs after Vagrant automatically tries to<\/span>\r\n<span style=\"color: #ff0000;\">do this for you. The likely cause of this error is a lack of filesystem<\/span>\r\n<span style=\"color: #ff0000;\">permissions or even filesystem functionality. For example, if your<\/span>\r\n<span style=\"color: #ff0000;\">Vagrant data is on a USB stick, a common case is that chmod is<\/span>\r\n<span style=\"color: #ff0000;\">not supported. The key will need to be moved to a filesystem that<\/span>\r\n<span style=\"color: #ff0000;\">supports chmod.<\/span><\/pre>\n<p>\u3053\u308c\u3092\u4fee\u6b63\u3059\u308b\u3068\u3001Vagrant\u304c\u3053\u306e\u5148\u306b\u9032\u307f\u3001\u7121\u4e8b\u306b\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f<\/p>\n<pre>\r\n==&gt; vccw.dev: Mounting shared folders...\r\nvccw.dev: \/vagrant =&gt; \/Volumes\/oichinokata-home\/vccw\r\nvccw.dev: \/var\/www\/wordpress =&gt; \/Volumes\/oichinokata-home\/vccw\/www\/wordpress\r\nvccw.dev: \/tmp\/vagrant-chef\/1c29077ca6e2aea8b01d1164a5fc880b\/cookbooks =&gt; \/Volumes\/oichinokata-home\/vccw\/provision\/cookbooks\r\nvccw.dev: \/tmp\/vagrant-chef\/f09ae49e32d90c27749b1867c4f1c299\/cookbooks =&gt; \/Volumes\/oichinokata-home\/vccw\/provision\/site-cookbooks\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160120vccw-mounted.png\" alt=\"VCCW mounted\" width=\"480\" height=\"292\" class=\"alignnone size-full wp-image-16865\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160120vccw-mounted.png 480w, https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160120vccw-mounted-150x91.png 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8\u3067\u304d\u306a\u3044\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3001\u3044\u308d\u3044\u308d\u691c\u7d22\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u6709\u52b9\u306a\u65b9\u6cd5\u3092\u898b\u3064\u3051\u3089\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u7d50\u5c40\u3001Vagrant\u304c\u51fa\u3059\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u610f\u5473\u3092\u8003\u3048\u305f\u3089\u3001\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3092\u89e3\u6c7a\u3059\u308b\u3053\u3068\u304c\u6b63\u3057\u3044\u9053\u306e\u308a\u3067\u3057\u305f\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306b\u3001\/usr\/local\/etc\/afp.conf\u306e[Homes]\u30bb\u30af\u30b7\u30e7\u30f3\u306b&#8221;file perm = 0600&#8243;\u3092\u8ffd\u52a0\u3057\u3066\u3001netatalk\u3092\u518d\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"ini\">;\r\n; Netatalk 3.x configuration file\r\n;\r\n\r\n[Global]\r\n    mac charset = MAC_JAPANESE\r\n    afpstats = yes\r\n    log file = \/var\/log\/netatalk.log\r\n    vol dbpath = \/export\/netatalk\/CNID\r\n    vol preset = my_default_values\r\n\r\n[my_default_values]\r\n    file perm = 0660\r\n    directory perm = 0770\r\n\r\n[Homes]\r\n    basedir regex = \/usr\/home\r\n    home name = $u-home\r\n    spotlight = yes\r\n    file perm = 0600\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Vagrant\u4e0a\u306eVCCW\u3092\u4f7f\u3063\u3066\u3001WordPress\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u306b\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002 VCCW\u3067WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9 : \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2015\u5e746\u670817\u65e5) MacBook Pro Retina [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":16865,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eVagrant\u3067\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8\u3067\u304d\u306a\u304b\u3063\u305f\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[34,59,30,33],"tags":[],"class_list":["post-16825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac","category-nas","category-netatalk","category-wordpress"],"jetpack_publicize_connections":[],"jetpack-related-posts":[{"id":20627,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/vccw-on-freebsd.html","url_meta":{"origin":16825,"position":0},"title":"FreeBSD\u3067VCCW\u3092\u4f7f\u3063\u3066WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670823\u65e5","format":false,"excerpt":"\u30b5\u30fc\u30d0\u30fc\u304c\u5fa9\u6d3b\u3057\u3066\u3001\u3084\u308a\u305f\u3044\u3053\u3068\u304c\u3084\u3063\u3068\u3084\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u305d\u306e\u4e00\u3064\u304c\u3001\u30b5\u30fc\u30d0\u30fc(FreeBSD\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"FreeBSD\u3067VCCW","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/06\/20170623vccw-on-freebsd.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15293,"url":"https:\/\/oichinote.com\/plus\/2015\/06\/developping-env-with-vccw.html","url_meta":{"origin":16825,"position":1},"title":"VCCW\u3067WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e746\u670817\u65e5","format":false,"excerpt":"WordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u958b\u767a\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002 Kindle50%\u30dd\u30a4\u30f3\u30c8\u9084\u5143\u3068\u805e\u3044\u3066\u300cW\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/oichinote.com\/plus\/category\/wordpress"},"img":{"alt_text":"WordPress","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/06\/20150617vccw-dev.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20639,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/accress-vccw-from-network.html","url_meta":{"origin":16825,"position":2},"title":"VCCW\u3092\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u4ed6\u306ePC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670824\u65e5","format":false,"excerpt":"FreeBSD\u4e0a\u3067VirtualBox+Vargrant+VCCW\u3067WordPress\u3092\u52d5\u304b\u3057\u307e\u3057\u305f\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"Safari\u304b\u3089\u30a2\u30af\u30bb\u30b9","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/06\/20170624vccw-on-freebsd-via-safari.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15497,"url":"https:\/\/oichinote.com\/plus\/2015\/07\/charset-at-column-in-table-of-mysql-database.html","url_meta":{"origin":16825,"position":3},"title":"WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6539\u9020\u3057\u3066\u3044\u3066MySQL\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u306b\u306f\u307e\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e747\u670811\u65e5","format":false,"excerpt":"\u65e5\u672c\u8a9e\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u3001WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u3001\u65e5\u672c\u8a9e\u5316\u3057\u3066\u4f7f\u304a\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u3001MySQ\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/oichinote.com\/plus\/category\/wordpress"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/07\/20150711mysql-db-charset.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15336,"url":"https:\/\/oichinote.com\/plus\/2015\/06\/embed-rss-with-image-by-wordpress-plugin.html","url_meta":{"origin":16825,"position":4},"title":"WordPress\u3067\u6295\u7a3f\u8a18\u4e8b\u5185\u306b\u753b\u50cf\u4ed8\u304d\u3067RSS\u3092\u57cb\u3081\u8fbc\u3080[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e746\u670822\u65e5","format":false,"excerpt":"\u672c\u30a6\u30a7\u30d6\u3092\u8a2a\u308c\u3066\u3044\u305f\u3060\u3044\u305f\u65b9\u306b\u3001\u4ed6\u306e\u30da\u30fc\u30b8\u3082\u898b\u3066\u3082\u3089\u3046\u305f\u3081\u306b\u3001\u6295\u7a3f\u306e\u6982\u8981\u3092\u753b\u50cf\u4ed8\u304d\u3067\u57cb\u3081\u8fbc\u307f\u305f\u3044\u3068\u601d\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/oichinote.com\/plus\/category\/wordpress"},"img":{"alt_text":"Feedzy\u4fee\u6b63\u7248","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17344,"url":"https:\/\/oichinote.com\/plus\/2016\/03\/how-to-test-wordpress-theme.html","url_meta":{"origin":16825,"position":5},"title":"WordPress\u30c6\u30fc\u30de\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2016\u5e743\u670827\u65e5","format":false,"excerpt":"\u672c\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067\u4f7f\u3046\u305f\u3081\u306e\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30c7\u30b6\u30a4\u30f3\u5bfe\u5fdc\u306e\u30c6\u30fc\u30de\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u5168\u9762\u5c55\u958b\u3067\u304d\u308b\u30ec\u30d9\u30eb\u306b\u306a\u308a\u307e\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"\u30c6\u30fc\u30de\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2016\/03\/20160327wordpress-theme-unit-test.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2016\/01\/20160120vccw-mounted.png","_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/16825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=16825"}],"version-history":[{"count":14,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/16825\/revisions"}],"predecessor-version":[{"id":17869,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/16825\/revisions\/17869"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/16865"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=16825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=16825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=16825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}