Solved

How to automatically share all external hard drives in OSX

Posted on 2013-06-17
3
511 Views
Last Modified: 2013-07-01
Hi there,

Ignoring the security implications, is there any way of configuring OSX 10.6 onwards to automatically share any external hard drive that you connect to a specific Mac?
0
Comment
Question by:djlr2008
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Xaelian
ID: 39253940
Share the /Volumes folder. All your hard disks and external disks come under this folder.
0
 

Accepted Solution

by:
djlr2008 earned 0 total points
ID: 39278002
Thanks Xaelian,

This more detailed process for editing the smb.conf file did the trick:

Open up a new Terminal (/Applications/Utilities) window and enter the commands:

$ sudo cp /etc/smb.conf /etc/smb.conf.back
$ sudo pico -w /etc/smb.conf
This will open up the pico editor, which is a simple text editor. Move down to the very bottom of the file by holding down Ctrl+V. Once there, give yourself a blank line or two and then enter the following text:

; Share for all mounted volumes
path = /Volumes
browseable = yes
public = no
read only = no
To save your changes, press Ctrl+O, Enter. Then, exit pico by pressing Ctrl+X. Go ahead and quit out of Terminal. At this point, you've created a backup of your original /etc/smb.conf file and added a new share to your original configuration.
0
 

Author Closing Comment

by:djlr2008
ID: 39289370
This is the more detailed process for sharing all Volumes on my Mac
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will cover some tips for successfully installing the new update to OS X; 10.5.7. Although the information contained within could be used for any OS X point release.  Please note that this information applies to point releases to a parti…
If you are using Mac OS X and have a large number of login items set up in accounts, under system preferences, you may find that your computer is sluggish and unresponsive during startup until everything is done launching. Another problem that a…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question