You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
BJN
3 years agoExplorer | Level 4
Can't open PDF files with new beta on my mac
Issue is that the file info says open with Dropbox, not Adobe. If I change back to Adobe then it opens. (Or if I open it from inside Adobe.) But I have hundreds of PDFs that now have the wrong app to...
- 2 years ago
Hi everyone,
Thanks for reporting this, and sorry for the inconvenience. We think we have a good idea of what is causing the issue, and we're looking into a fix.
In the meantime, the following workaround might help:- Open a Terminal window.
- Run the following command:
xattr -drv com.apple.LaunchServices.OpenWith ~/Library/CloudStorage/Dropbox
This command will remove the custom "Open With" settings for all files in your Dropbox folder, including the incorrect/broken setting that is forcing some files to open with Dropbox.
It's possible that Finder won't notice the change right away, so you might need to relaunch it for that to take effect:
- Hold Control + Option and click on the Finder icon in the Dock.
- Select "Relaunch".
iandol
Helpful | Level 6
So there is a fix from a dropboxer for the "open with" issue (you should restart Finder after applying these commands):
xattr -drv com.apple.LaunchServices.OpenWith ~/Library/CloudStorage/Dropbox
This is just resetting the metadata, and so for issues with spurious quarantines I would think something like:
xattr -drv com.apple.quarantine ~/Library/CloudStorage/Dropbox
At least my errors are currently fixed...
Emmet
2 years agoCommunity Manager
Hi everyone,
Thanks for reporting this, and sorry for the inconvenience. We think we have a good idea of what is causing the issue, and we're looking into a fix.
In the meantime, the following workaround might help:
- Open a Terminal window.
- Run the following command:
xattr -drv com.apple.LaunchServices.OpenWith ~/Library/CloudStorage/Dropbox
This command will remove the custom "Open With" settings for all files in your Dropbox folder, including the incorrect/broken setting that is forcing some files to open with Dropbox.
It's possible that Finder won't notice the change right away, so you might need to relaunch it for that to take effect:
- Hold Control + Option and click on the Finder icon in the Dock.
- Select "Relaunch".
- b47982 years agoHelpful | Level 5
Thank you, Walter!
- radical_exponent2 years agoDropbox Engineer
Hi everyone,
Let me try to level-set on what our understanding of the problem is and where we're at, solution-wise:* When migrating from an existing 12.3+ install of Dropbox to the new Dropbox for macOS, any files that were Online Only prior to the migration had a "com.apple.LaunchServices.OpenWith" xattr that stores a setting telling the OS to open the file with Dropbox. This xattr was part of our existing implementation of Download on Demand.
* When users double-click a file with this xattr, depending on the exact circumstances, they could see: (1) nothing, (2) .docx/.pptx/etc files opening in the web browser rather than the native app, or (3) receiving a scary warning dialog about an unidentified developer.
* We're now removing these xattrs as part of the migration to the new Dropbox for macOS. This was fixed as of version 166 - so new users migrating/upgrading after that release shouldn't see this issue.
* We've also deployed a fix in 165 that should fix the symptoms for most existing users, by making sure our app responds correctly to open requests. The xattr should be removed from files for you as you interact with them (e.g. double-click).
* There are a small remaining set of users where this fix doesn't work, who will need to manually remove the OpenWith xattr
As posted previously, the command to do this is:xattr -drv com.apple.LaunchServices.OpenWith "~/Library/CloudStorage/Dropbox"
(adjusting appropriately in case your Dropbox folder has a different name - e.g. "Dropbox (Personal)")
Some users reported that running this command via the Terminal app ran into a Permission Denied error. We believe this is likely caused by Terminal not having permission to read/write files in your Dropbox. This is a built-in protection in macOS, designed to protect your data from malware on the machine.
In order to temporarily bypass this protection, you can go to (apple menu, top left) -> System Settings, then look for the "Privacy and Security" section, then "Full Disk Access", click the "+" in the list (authenticate if prompted), navigate to /Applications/Utilities/ in the file open dialog that pops up, click "Terminal.app" and then click Open.
After that, you'll need to quit and re-launch Terminal, and re-run the "xattr -drv ..." command mentioned above. That should hopefully work correctly now.
When you're done, you can optionally remove the additional permissions granted to Terminal.
Please let me know if you encounter any issues with that!
- b47982 years agoHelpful | Level 5
Emmet,
You're assuming that we know what Terminal is, or that we've used it before. I'm probably in the minority on this one, but now I have to go on an Easter Egg hunt to research what Terminal is and how to use it without doing further damage to my computer.
- SamPT2 years agoHelpful | Level 7
did what you said, and still its the same problem.
- iandol2 years agoHelpful | Level 6
Hi Emmet — the proposed fix aims to solve the problem with the "Open with" applications. However the remaining problem is that the quarantine bit is set so that many files become "from an unindentified developer..." — why are you not suggesting to use the same fix but for quarantine metadata?
e.g.
xattr -drv com.apple.quarantine ~/Library/CloudStorage/Dropbox
?
- bluemigrant2 years agoHelpful | Level 5
This problem is annoying and no one of dropbox gives the solution
- iandol2 years agoHelpful | Level 6
Well, this is probably par for the course from a corporate entity. Many of us have problems, and it seems there is a disconnect between the developers and the QA / customer support teams. The fact I am using a beta means I bear some responsibility, though the fact we are still in beta for basic support of Apple's latest OS and changes that were announced several years ago says something pretty dire about Dropbox management. I understand it is hard for indie developers to keep up with Apple, but this shouldn't apply to behemoths like Dropbox. The response to these particular bugs is patchy at best, mostly these threads are users who are motivated enough to complain (there will be a greater sea of users who just sit confused and manage the best they can). We have some generic canned replies and then some incomplete potential workarounds. It amazes me they suggested the xattrs fix for one problem (which works for me at least) but then just ignored the other and cannot even feedback if we should try or not. Surely this kind of joined up thinking is not that hard?
- Emmet2 years agoCommunity Manager
Hello everyone,
Thank you for your patience in this matter. A fix was recently pushed through for this issue, and it should no longer be affecting your devices. If you are still experiencing this issue after you've updated your Dropbox, please let us know. We will need to investigate further.
Regards,
Emmet
- BJN2 years agoExplorer | Level 4
Didn't work. Got permission denied error.
barrynalebuff@SOMC02D42LHML85 ~ % xattr -drv com.apple.LaunchServices.OpenWith ~/Library/CloudStorage/Dropbox
xattr: [Errno 13] Permission denied: '/Users/barrynalebuff/Library/CloudStorage/Dropbox/My Mac (Barrys-MacBook-Pro.local)/Desktop/`.nosync'
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!