Solved

Share Folder on Mountain Lion has -1 behind name

Posted on 2013-10-28
3
377 Views
Last Modified: 2013-11-12
I have a mac mini running Mountain Lion that I have been sharing a folder from.  I took it out from sharing and then reshared it, the name of the folder is Media, normally it shows up as a shared folder called Media, but for some reason it shows up in every Mac as Media-1 , there is no other share called Media (which would cause this) nor a folder with the same name on the same drive, I can't figure this one out.

Paul
0
Comment
Question by:Peterson50
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
Eoin OSullivan earned 300 total points
ID: 39608012
This issue occurs when the first share is not fully cleared/deleted and osx tries to recreate the share and cannot overwrite the previous share so it appends -1 to the share name.

This happens on the client computers who end up with multiple mount points for the same share as the previous share is not properly cleared.

In the past my method to clear this would involve the following
On the computer that has the media folder
1. Remove the Media share in the system preferences
2. Turn off file sharing in osx
This will stop the host computer broadcasting the share data.  If you want to be super safe disconnect it from the network or shutdown while you work on the client computers.

On the client computers that access the share
1. Do a full shutdown and then restart the mac
2. After restart open Terminal window and check that there is no legacy mount point on the client computer
sudo ls laF /Volumes

Open in new window

This will show all mounted shares.  You should NOT see any Media folders. If you do they will have to be manually deleted
sudo rm -rf /Volumes/Media
or
sudo rm -rf /Volumes/Media-1

Open in new window

3. Once you've checked and cleared all client computers you can then re-enable file sharing on the host computer and share the Media folder again
0
 

Author Comment

by:Peterson50
ID: 39609265
I did that and it did not work.  I renamed the share to Music and it appears fine.  I disabled sharing and renamed it to Media and the share still comes up as Media-1, so I've put it back to Music for now
0
 
LVL 39

Expert Comment

by:Eoin OSullivan
ID: 39609356
The issue lies on the client computers (the ones trying to access the Media folder)  .. not the host computer (the one sharing the Media folder).

Did you disable sharing and check all the client computers?
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In certain circumstances, a Microsoft Office mac application may fail to save a document to a network server, with the following error message: "There has been a network or file permission error. The network connection may be lost." An article at…
The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

18 Experts available now in Live!

Get 1:1 Help Now