Solved

How to automatically share all external hard drives in OSX

Posted on 2013-06-17
3
508 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Are you new to OS X?  This helpful advice could get you quickly up to speed if you are making the transition from windows or totally new to OS X. Finder gives you the visual connection between you and the files located on the hard drive of your A…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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 …

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now