onefiftymph

Q: desktop thinks its a mounted drive

..things dragged to Trash get "This item will be deleted. You can't undo this action"

 

This started happening only recently. Don't remember doing anything that could have caused it....

 

Any ideas?

 

TIA

Posted on Sep 10, 2016 11:38 PM

Close

Q: desktop thinks its a mounted drive

  • All replies
  • Helpful answers

  • by onefiftymph,

    onefiftymph onefiftymph Sep 18, 2016 12:54 AM in response to onefiftymph
    Level 1 (4 points)
    Mac OS X
    Sep 18, 2016 12:54 AM in response to onefiftymph

    Can anyone offer insight on this problem?

  • by Eric Root,

    Eric Root Eric Root Sep 18, 2016 7:23 AM in response to onefiftymph
    Level 9 (72,119 points)
    iTunes
    Sep 18, 2016 7:23 AM in response to onefiftymph
  • by onefiftymph,

    onefiftymph onefiftymph Sep 19, 2016 10:10 PM in response to Eric Root
    Level 1 (4 points)
    Mac OS X
    Sep 19, 2016 10:10 PM in response to Eric Root

    Thanks for the link. I went through the steps but ran into problems using Terminal. I'd very much appreciate add'l advice. This is a CRITICAL problem and it's just a matter of time before an accidental deletion becomes a complete disaster. Applecare can't help because they only know about the latest OS's and can only suggest an upgrade, which I can't do right now because of apps I use.

     

    I started with the section Files dragged to the Trash "will be deleted immediately" alert, went through #1 & 2, and couldn't make #3 happen:

     

    • #1 - Yes, I am the account Owner with all Read/Write permissions
    • #2 - Entering ls ~/.Trash in Terminal returns ls: .Trash.: Permission denied  The article says "..if Terminal returns "No such file, log out, restart." Terminal didn't return this text, but I tried logging out & restarting regardless. No change in problem. Nothing about any other Terminal returns is mentioned, but this returned text doesn't seem good.
    • #3 - Empty and recreate acct Trash

     

    Ok this part in #3 is scary: "typographical errors in this command can have dire consequences, including erasing your hard drive!"


    So I tried this first:

      I created a new test account and logged in. The trash works normally in this acct. Restarted again, determined to try #3:

    - Opened Terminal

    - typed sudo rm -ri ~/.Trash in Terminal. Hit Enter

    - get ominous warning:

           WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files.             Please double-check your typing when using sudo. Type "man sudo" for more information.

     

           To proceed, enter your password, or type Ctrl-C to abort.

           Password:

     

    I go to type in my password, but Terminal no longer accepts input. This sudo rm -ri ~/.Trash command causes Terminal to stop keyboard input. I can move the mouse and select the type, but no keyboard input is allowed. Theres no cursor, just the little grey rectangle. I try relaunching Terminal but it now opens with a completely  blank white interface screen and doesn't work without the base text that was there before, and I don't know what it is. So i reboot computer, try again. This is the only way to get the base text back in Terminal. (Now I saved that at least) I get all the way to the same place again - copy/pasting rather than typing the code - with same result - it's a dead end.

     

    Any advice very much appreciated!

  • by Eric Root,

    Eric Root Eric Root Sep 20, 2016 8:55 AM in response to onefiftymph
    Level 9 (72,119 points)
    iTunes
    Sep 20, 2016 8:55 AM in response to onefiftymph

    You are welcome. Instead of typing in Terminal, try using copy and paste. That helps eliminate typos. Try using the commands below to show hidden files. You can then look in your user Library for the .Trash file. When done, use the 2nd command to hide the files.

  • by onefiftymph,

    onefiftymph onefiftymph Sep 21, 2016 8:10 AM in response to Eric Root
    Level 1 (4 points)
    Mac OS X
    Sep 21, 2016 8:10 AM in response to Eric Root

    ..using the commands below...

    Commands below..     Immutable files?

     

    Yes, I'm copying/pasting in Terminal as stated. The xlab info doesn't do what it says, for me, for Snow Leopard anyway

     

    Thanks for trying to help

  • by Eric Root,

    Eric Root Eric Root Sep 21, 2016 8:33 AM in response to onefiftymph
    Level 9 (72,119 points)
    iTunes
    Sep 21, 2016 8:33 AM in response to onefiftymph

    You are welcome. Sorry about forgetting the Terminal commands.

     

    Hidden files - show: defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

     

    Hidden files - hide: defaults write com.apple.finder AppleShowAllFiles FALSE -boolean false ; killall Finder

  • by onefiftymph,

    onefiftymph onefiftymph Sep 22, 2016 1:26 PM in response to Eric Root
    Level 1 (4 points)
    Mac OS X
    Sep 22, 2016 1:26 PM in response to Eric Root

    ok I don't know what to do with this information

     

    Logged in to a test acct, running the first, or both, commands in Terminal with the Library window open, does nothing, returns this msg:

     

    Screen shot 2016-09-22 at 1.21.37 PM.png

  • by BobHarris,

    BobHarris BobHarris Sep 22, 2016 5:41 PM in response to onefiftymph
    Level 6 (19,536 points)
    Mac OS X
    Sep 22, 2016 5:41 PM in response to onefiftymph

    The instructions were a bit unclear.

    To have the Finder show hidden files, copy and past the following command line into a Terminal session

    defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

    To have the Finder stop showing hidden files, copy and past the following command line into a Terminal session

    defaults write com.apple.finder AppleShowAllFiles FALSE -boolean false ; killall Finder

  • by onefiftymph,

    onefiftymph onefiftymph Sep 23, 2016 4:29 PM in response to BobHarris
    Level 1 (4 points)
    Mac OS X
    Sep 23, 2016 4:29 PM in response to BobHarris

    Ok thanks. So the procedure would be

    - Open the Library folder (where no Trash is currently visible) for the Admin identity

    - Run the above Show hidden files script in Terminal - which should make a .trash file (folder?) appear in the Library folder (?)

    - Drag the .trash file/folder to the Trash? Or Command + Delete? Or just remove it from Library? (Putting the Trash into itself...seems like it won't work)

    - Sign out of Identity (or restart?)

    - New Trash will be generated - on login or restart - when OS detects it's missing?

     

    Obviously with the dire "..may erase harddrive.." msgs detailed, I'm proceeding with abundant caution..

     

    Thanks for trying to help!

  • by onefiftymph,

    onefiftymph onefiftymph Sep 25, 2016 11:07 PM in response to onefiftymph
    Level 1 (4 points)
    Mac OS X
    Sep 25, 2016 11:07 PM in response to onefiftymph

    Would appreciate if someone could step up and help with this....

     

    I went through with the show hidden files command in Terminal and that works.  Is this (screencap) the trash that should be deleted? I'm not going to do it with knowing what will happen.

     

    The "stop showing hidden files" Terminal command listed DOES NOT WORK for me - returns "Unexpected argument -boolean; leaving defaults unchanged." The files are still in view, even after restart....

     

    trash file.jpg

  • by Eric Root,Solvedanswer

    Eric Root Eric Root Sep 26, 2016 8:36 AM in response to onefiftymph
    Level 9 (72,119 points)
    iTunes
    Sep 26, 2016 8:36 AM in response to onefiftymph

    If you are in the hard drive level Users/Your User/User Library, that is the folder. If you are in the hard drive level Library or System Library, that isn't the file.

     

    If/when you are in the right place, move the file to your Desktop, and then restart the computer. If all is normal, delete the file from your Desktop. Otherwise return the file to where you got it.

  • by onefiftymph,

    onefiftymph onefiftymph Sep 26, 2016 9:32 PM in response to Eric Root
    Level 1 (4 points)
    Mac OS X
    Sep 26, 2016 9:32 PM in response to Eric Root

    Ok great, I'm back in business. When I moved the Trash in my User acct. (not the Macintosh harddrive .Trash in my screencap) to the desktop and restarted, a new Trash file got generated and appears to be working correctly.

     

    Thanks so much for taking the time to help me! That was big mess, what could've cause that?

  • by Eric Root,

    Eric Root Eric Root Sep 27, 2016 6:01 AM in response to onefiftymph
    Level 9 (72,119 points)
    iTunes
    Sep 27, 2016 6:01 AM in response to onefiftymph

    You are welcome. Files occasionally get corrupted for some reason. I can't offer any better explanation as to why.