techiejohn

Q: Network Shares in Finder Sidebar

I have several AFP network shares that are mounted at login.

 

In Lion, these persisted in the Sidebar after I dragged their aliases there.

 

However, in Mountain Lion they're gone, and while it looks like I can drag them there, they immediately disappear once dropped.

 

Has anyone else noticed this? Does anyone know of a work-around?

MacBook Pro 2.53 GHz (Late 2008), Mac OS X (10.5.6)

Posted on Aug 2, 2012 8:37 PM

Close

Q: Network Shares in Finder Sidebar

  • All replies
  • Helpful answers

  • by Ben Rigsby,

    Ben Rigsby Ben Rigsby Aug 2, 2012 8:50 PM in response to techiejohn
    Level 2 (468 points)
    iTunes
    Aug 2, 2012 8:50 PM in response to techiejohn

    They disappear from the sidebar for me as well. But they do stay in the dock. Maybe that will work for you?

    Ben

  • by techiejohn,

    techiejohn techiejohn Aug 2, 2012 8:58 PM in response to Ben Rigsby
    Level 1 (5 points)
    Aug 2, 2012 8:58 PM in response to Ben Rigsby

    It may have to do for the time being (I just moved away from that in the last few months, because I didn't like the presentation). I think this is a bug. I opened a problem ticket (12022987) at https://bugreport.apple.com.

  • by mcreim,

    mcreim mcreim Aug 4, 2012 12:27 PM in response to techiejohn
    Level 1 (0 points)
    Aug 4, 2012 12:27 PM in response to techiejohn

    I have exact the same problem here.

     

    I have several afp shares that are mounted at login. Under 10.7 the shares were persistent in finders sidebar. After I draged them there once.

     

    Now under 10.8 they are not there and I noticed some strange behavior:

     

    After mounting the shares (via applescript at login) it is not possible to drag the shares to the finders sidebar. It seems that they are already there but - for some reason - can not be seen.

     

    My workaround is:

    I unmount the shares and start the mounting script again by hand. strangely the shares are in the sidebar now.

     

    It looks like some kind of timing problem, when the user logs on and the script starts. I tried some delay at the beginng of the script, but that does not solved the issue.

  • by mcreim,

    mcreim mcreim Aug 7, 2012 10:21 PM in response to mcreim
    Level 1 (0 points)
    Aug 7, 2012 10:21 PM in response to mcreim

    It seems that I found a workaround for the problem (it is still a bug in my opinion):

     

    here is my mounting-script that works well:

     

    delay 2

    tell application "Finder" to open home

    tell application "Finder"

              try

                        mount volume "afp://username:password@mynas/share1"

      delay 1

                        mount volume "afp://username:password@mynas/share2"

              end try

    end tell

    tell application "Finder" to close home

     

     

    I have it in the login-items.

    It basicly does the following: Open the finder with the home-view. Then mount the two shares. After that closes the finder window.

    (Replace username:password with the credentials needed to mount the share, "mynas" with the name or adress of the server and "share1", "share2" with the acutal name of the share.)

     

    The 2 seconds delay at the beginning is not really needed I suppose but since the script works I'll leave it there.

     

    In order to see the shares in the favorites section of the finders sidebar you have to drag them there once by hand. Afterwards they will show up there everytime the particular share is mounted.

     

    The trick is to open the finder window before the shares are mounted. When the script does this they will appear in the sidebar. I think there is the problem. When the script mounts the share without displaying the finder window, they will not show up in the sidebar. It is a bug introduced with ML.

  • by techiejohn,

    techiejohn techiejohn Aug 8, 2012 4:56 AM in response to mcreim
    Level 1 (5 points)
    Aug 8, 2012 4:56 AM in response to mcreim

    Great... it's a workaround I guess. I added it to the bug report.

  • by matthewadams,

    matthewadams matthewadams Sep 20, 2012 3:00 AM in response to techiejohn
    Level 1 (0 points)
    Sep 20, 2012 3:00 AM in response to techiejohn

    Whats the current state of the bug report?

    Did they investigate it?

    Else I could file a duplicate just to raise attention to this.

     

    Also - as I wasnt able to test it yet - does the issue persist in 10.8.2 ?

  • by matthewadams,

    matthewadams matthewadams Sep 30, 2012 6:33 AM in response to techiejohn
    Level 1 (0 points)
    Sep 30, 2012 6:33 AM in response to techiejohn

    Issue still exists with 10.8.2.

    Filed a duplicate report to raise awareness.

  • by aaronwithtwoas,

    aaronwithtwoas aaronwithtwoas Jan 3, 2013 8:19 AM in response to techiejohn
    Level 1 (10 points)
    Jan 3, 2013 8:19 AM in response to techiejohn

    I have found a fix. If you eject the drive then go to Recent Items under the Apple icon on your menu bar and click on the Server you want to mount, it should appear on your sidebar again. Do this for all the drives you want to have in your Devices sidebar. I am unsure if this only works if you have previously had it on your sidebar, because I did and then it stoppped appearing after restarts.

  • by matthewadams,

    matthewadams matthewadams Jan 3, 2013 8:22 AM in response to aaronwithtwoas
    Level 1 (0 points)
    Jan 3, 2013 8:22 AM in response to aaronwithtwoas

    Thats a workaround at best - the problem will reoccur shortly thereafter.

  • by dnsh,

    dnsh dnsh Aug 20, 2013 1:05 PM in response to techiejohn
    Level 1 (0 points)
    Aug 20, 2013 1:05 PM in response to techiejohn

    Still having this issue with 10.8.4 network shares disappearing from the Finder (under "Devices").

     

    Edit for more details:

    -shared folders are located on a machine running 10.6.8 Server, being accessed using workstations using 10.8.4

    -share is via AFP

     

    Disconnecting the share and then reconnecting it seems to make the share appear again, but this should not be a permanent fix. Has anyone made any progress on this bug?

  • by just1ed,

    just1ed just1ed Aug 22, 2013 9:43 AM in response to dnsh
    Level 1 (16 points)
    Aug 22, 2013 9:43 AM in response to dnsh

    No go. I filed a bug report as well. mcreim is right. Finder window must be open before the shares are mounted for them to appear in the Finder sidebar. Unfortunately, that means even if you use Applescript, you will need to open finder. Or open it and close it for drives to mount automatically.

     

    tell application "Finder"

              open ("/Applications" as POSIX file) -- replace /Applications with whichever folder you want finder to highlight

              mount volume "smb://nameofyourserver/nameofyourshare"

    end tell

     

    ------

    add

    <key>LSBackgroundOnly</key>

    <string>1</string>

     

    to your info.plist after you create the applescript app so that the app runs invisible

    ------

     

     

     


  • by Mcmattmanp,

    Mcmattmanp Mcmattmanp Nov 10, 2015 1:04 PM in response to techiejohn
    Level 1 (9 points)
    Mac OS X
    Nov 10, 2015 1:04 PM in response to techiejohn

    I know this is an old thread, but to get mapped drives to show, I just added a check mark next to my machine name under the sidebar Preferences. If you click on your machine in finder it then displays mapped drives. I'm using Mavericks