Skip navigation

cannot eject usb stick in os x containing a private keychain containing only user created secure notes

1278 Views 35 Replies Latest reply: Apr 24, 2013 3:59 PM by ancientscream RSS
  • gordguide Level 1 Level 1 (25 points)

    That's your problem then. As you have it configured, it will always have open files on it anytime it's mounted. That open file is what is preventing you from easily Ejecting the USB drive, because it's a file that is used by the System, not the User. Anytime you try to eject it, the OS will determine that it is being used by the System, and in essence treat it like it was part of the OS itself, so it will balk at any User-level changes (like ejecting it).

     

    If you change your workflow with this particular Keychain as I suggested a few posts ago, you will eliminate the reason the System wants to keep it mounted.

  • gordguide Level 1 Level 1 (25 points)

    " ... keychains and keychain access can be used by the user to store they're own information securely, independently of the systems use of it ..."

     

    Of course they can. But not if you deliberately set it up so the System must use it. Which is what you've done. Essentially you've configured it so that if you plug in that USB stick, you are forcing the System to use that file and keep it open.

     

    You probably will have to delete that keychain from your list in Keychain Access (backup!) before the System will stop locking access. Again, you can't get what you want until you set up your use of that Keychain properly. It is your own actions that are causing the problem; you are forcing the System to use that file on the USB drive; it has no choice due to how you've configured access to that particular Keychain.

  • gordguide Level 1 Level 1 (25 points)

    In an earlier post you told me you did, by having the path to that keychain go via a USB drive. What do you expect the OS to do except follow your orders?

     

    Set up the path to that keychain to go via your mounted System Drive (which the OS also will not let you eject and for exactly the same reasons).

  • gordguide Level 1 Level 1 (25 points)

    " ... i have not set it up so the system must use it ..."

     

    Yes, you have.

     

    You have set the pathname to the USB disk by "once keychain access program has once opened this keychain it always remembers it's location"

     

    Location = Pathname

     

    So, you have set the pathname in Keychain Access to a USB drive and now wonder why it wants to keep the USB drive mounted?

     

    The System is only doing what you've told it to do.

     

    You need to copy the keychain to your system disk, set the pathname to that keychain (or just reboot and it should show up there) and delete the keychain that still has the USB drive as the pathname.

     

    Which is why renaming one of them is a good idea, so you know which is which when it comes time to delete the one with the pathname to the USB drive from the list in Keychain Access.

     

    If you're not forcing the System to use the keychain on the USB drive, it won't stop you from unmounting it.

     

    Really, I can't help you anymore. The solution to your problem has been given. I can't put a gun to your head and make you use it.

  • gordguide Level 1 Level 1 (25 points)

    I understand how you use the USB key and the Keychain on it.

     

    What is the difference between using the USB key on your clients' machines and at home?

     

    Answer: you are logged in to your home machine; on clients' machines you are not. And while logged in, you have set the pathname used by the System to the keychain on the USB drive. You probably have the preferences in Keychain Access to automatically mount the USB Keychain.

     

    Q: When you insert the USB key, and try to use the keychain in Keychain Access to view secure notes, does the System ask you for a password or does it just open?

     

    If it doesn't prompt you for a password, you've set it up to automatically mount and use that USB key, and as a result it refuses to unmount it, which is what it's supposed to do.

     

    Have you been to Keychain Access preferences like I suggested?

     

    The answer had **** well better be yes, or I'm giving up on you altogether.

  • gordguide Level 1 Level 1 (25 points)

    And it's set to lock after how many minutes, and it's set to lock or not when sleeping?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.