Rickth1

Q: El Capitan want let me move to trash

I had the local Apple Store install a SSD drive on my iMac.  Since then I can't move anything (from anywhere) to the trash.  I get a pop-up warning me this is permanent, and it does not move it to the trash.  It told the truth.  I know about the "option/File/delete Immediately" command, but I am not doing that.  It is as if it it stuck in that mode.  This was not an issue before the new hard drive was installed.  The guy at the Apple Store had not heard of this, and said a reinstall might be the fix.  Before that, maybe someone here can suggest an easer fix.  Thank you

Posted on Dec 7, 2015 1:50 PM

Close

Q: El Capitan want let me move to trash

  • All replies
  • Helpful answers

  • by John Galt,

    John Galt John Galt Dec 7, 2015 2:07 PM in response to Rickth1
    Level 8 (49,434 points)
    Mac OS X
    Dec 7, 2015 2:07 PM in response to Rickth1

    Did you migrate your information from another Mac or its previously installed hard disk drive, or did Apple do that for you?

  • by Rickth1,

    Rickth1 Rickth1 Dec 7, 2015 2:15 PM in response to John Galt
    Level 1 (0 points)
    Dec 7, 2015 2:15 PM in response to John Galt

    Thank you for the reply.  The Apple store did it from the old HD they removed.

  • by John Galt,

    John Galt John Galt Dec 7, 2015 2:30 PM in response to Rickth1
    Level 8 (49,434 points)
    Mac OS X
    Dec 7, 2015 2:30 PM in response to Rickth1

    My first inclination would be to bring it back to them and tell them to do it right. Do you still have the hard disk they removed?

     

    Edit: Two more questions:


    1. When you delete a file, does it disappear immediately upon confirming the dialog that says it will? I believe that's what you wrote but I wanted to confirm that is what is occurring.
    2. Are you having any trouble opening, creating, or editing existing files? In other words can you create a new folder on the Desktop using File > New Folder?
  • by Linc Davis,

    Linc Davis Linc Davis Dec 7, 2015 7:17 PM in response to Rickth1
    Level 10 (207,995 points)
    Applications
    Dec 7, 2015 7:17 PM in response to Rickth1

    The hidden Trash folder in your home folder may have been replaced with a file. The easiest way to solve the problem is to take the steps below. This procedure does not delete anything, but on general principle you should back up all data before you begin, if you don't already have a current backup.

    Please triple-click anywhere in the line below on this page to select it:

    mv .Trash $TMPDIR; mkdir .Trash; killall Finder

    Copy the selected text to the Clipboard by pressing the key combination command-C.

    Launch the built-in Terminal application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

    Wait for a new line ending in a dollar sign ($) to appear below what you entered. You can then quit Terminal. Test.

  • by Rickth1,

    Rickth1 Rickth1 Dec 8, 2015 9:06 AM in response to Linc Davis
    Level 1 (0 points)
    Dec 8, 2015 9:06 AM in response to Linc Davis

    Thanks for the suggestion, however, it did not do the intended.  I got this if it helps >>  see below

     

    Also, as asked above.  I have laving a few other weird things, but maybe they are just HD swap out, not system (?).  I use a DAC program (Archicad).  Files link to another file for placed drawings.  This is the typical path.  /Users/rickthompson/Business/Stock Plans/Details - etc/Details master/ PLN/details.pln  All these links broke.  It is fairly fast and easy to relink, so that's not an issue as such, but maybe it suggest other issues with the system?  Another issue I noticed.  Each file loads a library.  With those linked files the auto loaded object library is missing in some instances. 

     

    thank you

     

     

    Last login: Mon Dec  7 14:40:55 on console

    mkdir: /Users/rickthompson/.bash_sessions: Permission denied

    touch: /Users/rickthompson/.bash_sessions/B0097987-502B-45C1-8D2E-D354F406D67D.history new: No such file or directory

    Desk:~ rickthompson$ mv .Trash $TMPDIR; mkdir .Trash; killall Finder

    mv: rename .Trash to /var/folders/lv/52n4lsp08xjbpz0059b9qf1r0000gp/T/.Trash: No such file or directory

    mkdir: .Trash: Permission denied

    Desk:~ rickthompson$

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Dec 8, 2015 11:52 AM in response to Rickth1
    Level 10 (207,995 points)
    Applications
    Dec 8, 2015 11:52 AM in response to Rickth1

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

    Please back up all data before proceeding.

    Step 1

    If you have more than one user, and the one in question is not an administrator, then go to Step 2.

    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

    sudo find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

    Step 2 (optional)

    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

    Start up in Recovery mode. You may be prompted to select a language, then the OS X Utilities screen will appear.

    If you use FileVault 2, select Disk Utility, then select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another drive icon. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.

    Select

              Utilities Terminal

    from the menu bar. A Terminal window will open. In that window, type this:

    resetp

    Press the tab key. The partial command you typed will automatically be completed to this:

    resetpassword

    Press return. A Reset Password window will open. You’re not going to reset a password.

    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

    Select your username from the menu labeled Select the user account if not already selected.

    Under Reset Home Directory Permissions and ACLs, click the Reset button.

    Select

               Restart

    from the menu bar.

  • by Rickth1,

    Rickth1 Rickth1 Dec 8, 2015 9:35 AM in response to Linc Davis
    Level 1 (0 points)
    Dec 8, 2015 9:35 AM in response to Linc Davis

    It ran in an instant.. so?  After restart the trash is the same.  thank you

     

    This tell you anything?

     

    Desk:~ rickthompson$ sudo find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg {} + -exec cho

    Password:

    find: -exec: no terminating ";" or "+"

    Desk:~ rickthompson$

  • by Rickth1,

    Rickth1 Rickth1 Dec 8, 2015 9:37 AM in response to Rickth1
    Level 1 (0 points)
    Dec 8, 2015 9:37 AM in response to Rickth1

    BTW.. I ran Onyx yesterday.. the automatic set

  • by Linc Davis,

    Linc Davis Linc Davis Dec 8, 2015 11:14 AM in response to Rickth1
    Level 10 (207,995 points)
    Applications
    Dec 8, 2015 11:14 AM in response to Rickth1

    You didn't select the whole line. Please review the instructions and try again.

  • by Rickth1,

    Rickth1 Rickth1 Dec 8, 2015 11:51 AM in response to Linc Davis
    Level 1 (0 points)
    Dec 8, 2015 11:51 AM in response to Linc Davis

    That was it!!  Thank you so much, you have made my day:)

  • by freestylnit,

    freestylnit freestylnit Sep 13, 2016 8:32 PM in response to Rickth1
    Level 1 (4 points)
    Sep 13, 2016 8:32 PM in response to Rickth1

    Very helpful! Thank you for sharing this command - worked first time! Cheers!