The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 22, 2019, 05:24:08 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: OSX Tips: Sharing an external drive  (Read 2137 times)
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« on: February 03, 2008, 12:09:18 AM »

In Leopard, sharing anything on your machine is a snap. Go to System Preferences, select Sharing, File Sharing, and add the drive/resource/folder/whatever you want to share.

But in Tiger, it's not quite so simple. The Samba setup that File Sharing uses won't allow you to select WHICH drives you want to share, so it can be a bit tricky. So here's the quick and easy way:

Fire up a terminal, become the root user (sudo su, then your password). Edit /etc/smb.conf - this is where the shares are. External drives are found in the /Volumes directory. My recommendation would be to make the name of your drive standard stuff - no spaces or other special characters because it will make the share just that much more tricky.

Add something like this to your smb.conf:
[NetDrive]
comment = Here you describe what this share is about
path = /Volumes/myDriveName
browseable = yes
read only = no
create mode = 0750

NetDrive is what it will be seen as when someone is browsing for it. Stop File Sharing and start it again, the  share will be available next time you try to Connect To Server...

/p
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!