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
jflintwinch
2 years agoNew member | Level 2
Paths to files after the forced move of the Dropbox folder (Mac OS)
After my Dropbox folder was moved to ~/Library/CloudStorage, I'm having trouble with applications that rely on having a physical working directory.
A lot of my R code is in Dropbox but the orginal file locations don't exist anymore now. However, if I set my working directory in R as ~/Library/CloudStorage/Dropbox/MyFolder, R can't find any files in that folder either. If I then run getwd() to get the current working directory, it says /Users/myusername. The same happens in Stata.
Similarly, when I try to compile a LaTeX file that is stored in Dropbox, it doesn't do anything presumably because it doesn't know what the actual working directory is, because the CloudStorage folder is pointing back to the virtual Dropbox location.
Any suggestions to fix this problem are appreciated.
I'm gonna answer my own question...
It appears that after moving the Dropbox folder to `~/Library/CloudStorage`, one has to grant Full Disk Access (System Preferences > Privacy & Security > Full Disk Access) to applications accessing files in the Dropbox folder. After doing that for R, Stata, Texifier, and TeXShop, the above problems vanished.
- WalterDropbox Staff
Hey jflintwinch, sorry to hear you're having issues with this.
Can you please let us know your computer's exact OS and the status and version of the Dropbox desktop app that's installed there as shown in your menu bar?
Are the issues you mentioned happening to online only files or is this affecting your available offline files as well?
Keep us posted with your findings and we'll take it from there.
- jflintwinchNew member | Level 2
I'm gonna answer my own question...
It appears that after moving the Dropbox folder to `~/Library/CloudStorage`, one has to grant Full Disk Access (System Preferences > Privacy & Security > Full Disk Access) to applications accessing files in the Dropbox folder. After doing that for R, Stata, Texifier, and TeXShop, the above problems vanished.
- MunishNew member | Level 2
Hi,
I am still facing the same problem even after applying the solution suggested, can you help me with it.
Thanks!
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
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!