Go to Applications/Utilities/Disk Utility and open the program:
When the program opens, it will look like this. Select your hard drive at the left. I have two drives because I have two partitions.
With the hard drive selected, the program will look like this. Check the top tab to make sure it reads First Aid. Click the button shown by the bottom arrow to repair permissions. You may need to run Repair more than once to get everything fixed.
After Repairing Permissions, Verify the disk by using the button on the right.
Since I have spent all this time and somehow solved this problem I think it is best I share it with you and everyone else. First I want to inform everyone I am sort of illiterate about computers. However, I am pretty good about resolving my problems through extensive googling. Bear with me since this is my first-ever post.
I noticed the same problem you are having about an hour ago. I tried to move Photoshop application on the dock and realized I was unable to do it. I followed a few different steps. I am not sure which one caused it to be fixed so I am going to lay them all out. Excuse my overdetailing but I hate it when people assume you know everything and jump and skip steps so I will be assuming you are 90 and explain it accordingly.
Go to the finder(little magnifier on the top right corner of your screen) and type Terminal. When you see the Terminal option highlighted underneath, click on it or hit enter. A strange little window will show up. Copy and paste the following
And hit enter. This is somehow supposed to erase your dock settings I suppose. You have to restart your computer after that and then try to move an application item to the dock. See if it works. If it doesn't, which it didn't for me, move to the second step.
Go to the finder(again the little magnifier on the top right corner of your screen) and type Terminal. When you see the Terminal option highlighted underneath, click on it or hit enter. A strange little window will show up. Copy and paste the following
defaults write com.apple.Dock contents-immutable -bool no
And hit enter. This is somehow supposed to take your dock settings back to defaults. Again you have to restart your computer after that and then try to move an application item to the dock. See if it works. If it doesn't, which this also didn't for me, move to the third step.
Open your applications grab and drag the application to the dock, drop it specifically between the documents and the trash(or right next to the last icon-in my case it was the trash- in your dock). You may realize that it allows you to do that. Initially you cannot put it anywhere else but "right next to the trash" for some reason.
Proceed by moving the app from there to anywhere you like on the dock.
So my story is that once I did that suddenly it allowed me to move it from there to any other place in the dock since that seems to have suddenly unlocked all the dock. I don't know how but this or the combination of this and all the above broke this strange spell. Now I can move, relocate or remove any application I want.
This process might certainly not help you. I hope it does, though. If not you at least I hope someone out there saves some time by following these steps.
I just talked to Apple Support. The reason the applications can't be undocked is because they are not "closed". When you close an application using the red - button it doesn't fully close it; you have to click on the application's name in the upper left hand corner and "quit" the program for it fully be considered close. After that you can remove the application from the Dock
I see that the OP didn't reply with any information on what your test revealed. I have the same problem, and have been searching the community looking for a solution. I realise it's over a year ago now, but hope you can help me if I pick up the thread....
First off, I am running a MBA with Yosemite (10.9.5). But I am also having the same problem on an iMac running the same OS. To be clear - I can add items to the dock, or remove them using the contextual (right-click) menu. What I cannot do is drag items off the dock (to disappear in a puff of dust) or drag items from one place in the dock to another. I assume this is a bug, rather than a design choice with Yosemite.
Here is a list of everything I have tried so far, with no success:
- I have repaired all permissions using disk utility.
- I have tried the bit of terminal code that is supposed to unlock the dock: defaults write com.apple.dock contents-immutable -bool false;killall Dock
- I have deleted com.apple.dock.plist and com.apple.dock.lockfile from the Preferences folder in my Library
- I have logged on as a guest user - same issue
- I have started up in safeboot mode and logged on as myself - same issue.
I'm not sure what else I should try.
One note: since deleting the two files from my Preferences, I see that the .plist file has reappeared, but the .lockfile has not. Is that significant? Also, there is a "byhost" folder in my Preferences which also appears to contain dock-related files (although these have a long "serial number" included in the file title). Should I be deleting these too?