Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Out of the blue, I can't send any files to the trash bin. "The operation can't be completed because an unexpected error occurred (error code -1407)

Any ideas for me?

share|improve this question
    
Mac OS error -1407 (errFSNotAFolder): Expected a folder, got a file. Try dragging a blank folder into the trash bin and see what happens –  user6124 May 5 '11 at 7:52
2  
Try logging out then in again. I've had this happen to me once when a process took ownership of the ~/trash –  Martín Marconcini May 5 '11 at 8:27
add comment

4 Answers

Finder’s trash can is an amalgam of several different directories:

  • ~/.Trash/
  • /.Trashes/<uid>/ on each volume (including the startup volume)
    e.g. /Volumes/Big Media Volume/.Trashes/501/

Most trash operations will move the trashed item to the directory under your home directory. If you trash something on an separate volume, however, Finder will move the item into the volume’s /.Trashes/<uid>/ directory instead (because moving a file to a location on the same volume is very fast, but copying a file from some other volume to your home directory’s trash directory could be quite slow).

Try checking your main trash directory (in a Terminal window):

ls -ld ~/.Trash

If the result does not look like start with drwx------ and show your user’s “short name” twice (the second is actually a group name), then your personal trash directory has probably been fouled. You can move it aside then logout and login again:

cd ~ && mv .Trash .Trash.old
# now logout and re-login

This should create a new ~/.Trash directory for you. You may want to investigate the contents of the .Trash.old file/directory to try to determine its origin.

If the problem is with a per-volume trash directory, you should be able to use the same idea: move it aside, eject it, then remount it (disconnect and reconnect an external disk, reopen a disk image, use Disk Utility to remount an internal volume):

cd '/Volume/whereever' && mv .Trashes .Trashes.old
# then eject and remount

You may need … && sudo mv … if the volume has “Owners Enabled”.

share|improve this answer
add comment

You might want to try repairing file permissions with Disk Utility.

share|improve this answer
add comment

You can resolve Mac Error Code 1407, here are solutions:

Reboot your system:

Click Apple Menu button You will have an option of Restart, click the option A dialog box will appear Click for confirmation Now click Yes for Reboot You are done!

I may suggest you that you should go to this link http://www.slideshare.net/KellyHerry/how-to-fix-mac-error-1407 you will have complete solutions list for above said error fix. The steps are very easy and simple anybody even a layman can perform.

Wish you best of luck

share|improve this answer
add comment

You can resolve Mac Error Code 1407 by going through the solutions given in the tutorial link below:

https://www.youtube.com/watch?v=ly4KN170-ds

share|improve this answer
2  
Answers on Ask Different need to be more than just a link. It's okay to include a link, but please summarize or excerpt it in the answer. The idea is to make the answer stand alone. –  patrix May 28 '13 at 12:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.