I recently moved to a new computer. In the process, my home directory got renamed from oldhome to newhome. I changed it back to oldhome after the move was complete.
Now when I try to start dropbox I get a dialog that says:
"Dropbox needs to change permissions for the folder: /Users/newhome/.dropbox" and asks for my user name and password. But of course newhome does not exist, so then I get the message: "Couln't start Dropbox"
How do I tell dropbox to use oldhome for the home directory?
Sorry to hear about your start-up issue due to changing (renaming) your Home's name @abwatson!
To resolve this issue, I am going to provide you with steps to reset the Dropbox application settings. [This will not affect or remove the files in your Dropbox folder.]
[Please be sure to take note or take a screenshot of any Selective Sync settings you may have applied prior to re-installing as you will need to re-apply these settings after this process.]
First, please save and quit all programs accessing files in the Dropbox folder, and then follow these instructions:
Open your Terminal app (Located at /Applications/Utilities/Terminal)
Copy and paste the following line into the Terminal and press ENTER. PLEASE make sure you copy and paste this commands (don't type it by hand), as getting it wrong could cause some harm. You'll be prompted for your computer's admin password (not your Dropbox password) after entering the first command. Keep in mind that the password field in the terminal will remain blank as you type your password. After you type it, just press ENTER. You'll know that these instructions complete normally once the initial line of text (called prompt) comes up again:
sudo mv ~/.dropbox ~/.Trash/dropbox.old
Please note that once the prompt displays, the instruction completed the requested task. If the command returns an error, or does not respond after an hour, you may want to try restarting your computer and trying this step again.
Restart Dropbox from the Application folder, then please sign in and apply any Selective Sync settings you may have had prior to this reset during the sign in process. Your account will take a few moments to reindex the files and sync any pending changes.
If Dropbox still doesn't start then please copy and send me the result from the Terminal commands and any error messages through our official channels and let me know the ticket ID so I can get on it if needed. Alternatively, if it's easier you can also take a screenshot and attach it to your reply.
Did this post help you? If so please give it a Like below. Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it. Still stuck?Ask me a question!(Questions asked in the community will likely receive an answer within 4 hours!)