{"id":835,"date":"2015-03-13T19:48:38","date_gmt":"2015-03-13T19:48:38","guid":{"rendered":"http:\/\/shivdev.com\/blog\/?p=835"},"modified":"2015-03-13T19:50:14","modified_gmt":"2015-03-13T19:50:14","slug":"connect-to-a-linux-samba-share-from-your-mac","status":"publish","type":"post","link":"http:\/\/shivdev.com\/blog\/2015\/03\/13\/connect-to-a-linux-samba-share-from-your-mac\/","title":{"rendered":"Connect to a Linux Samba Share from your Mac"},"content":{"rendered":"<p>Pretty straightforward. If you don&#8217;t have a samba share here&#8217;s <a href=\"https:\/\/help.ubuntu.com\/community\/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20%28Command-line%20interface\/Linux%20Terminal%29%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way!\">How to Create a Network Share Via Samba Via CLI (Command-line interface\/Linux Terminal)<\/a>. So now you have a Samba Share on Linux.<\/p>\n<p>Here&#8217;s a snippet of my <strong>\/etc\/samba\/smb.conf<\/strong> that contains the Linux folder on my VM that I would like to access from the Mac. (In your Mac: it will show up under \/Volumes\/vm_codebase).<br \/>\nOf course you can ssh into your Linux env, but this is more like mounting onto your Mac.<\/p>\n<blockquote><p>\n[vm_codebase]<br \/>\npath = \/home\/shivdev\/codebase<br \/>\navailable = yes<br \/>\nvalid users = shivdev<br \/>\nread only = no<br \/>\nbrowseable = yes<br \/>\npublic = yes<br \/>\nwritable = yes\n<\/p><\/blockquote>\n<p>From your Mac. Open Finder : Go &#8211;> Connect to Server&#8230; &#8211;> smb:\/\/vm &#8211;> Chose vm_codebase<\/p>\n<p>Now you will see it under <strong>\/Volumes\/vm_codebase<\/strong> and is accessible like a regular folder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pretty straightforward. If you don&#8217;t have a samba share here&#8217;s How to Create a Network Share Via Samba Via CLI (Command-line interface\/Linux Terminal). So now you have a Samba Share on Linux. Here&#8217;s a snippet of my \/etc\/samba\/smb.conf that contains the Linux folder on my VM that I would like to access from the Mac. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,34],"tags":[],"_links":{"self":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/835"}],"collection":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/comments?post=835"}],"version-history":[{"count":2,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/835\/revisions"}],"predecessor-version":[{"id":837,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/835\/revisions\/837"}],"wp:attachment":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/media?parent=835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/categories?post=835"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/tags?post=835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}