The Community is undergoing a major upgrade. Find out more, ask us questions or share your thoughts here.

Forum Discussion

dankohn's avatar
dankohn
New member | Level 2
6 years ago

Desktop symbolic link removed on restart on MacOS Catalina

For a decade, I've been syncing my Desktop using Dropbox by running the commands:

sudo rm -r Desktop
ln -s Dropbox/Desktop Desktop

I then see the files inside `Dropbox/Desktop` on my Desktop. Since installing MacOS Catalina, this stops working every time I reboot. The symbolic link is deleted and an empty Desktop folder is restored inside my user directory.

How can I get Catalina to preserve the Desktop symbolic link across reboots? Alternatively, how can I get Dropbox to sync the contents of my Desktop folder without using this kind of symbolic link?

  • Thank you for those links. Dropbox's change in handling symlinks is unrelated because I keep the "real" Desktop folder inside the Dropbox folder. The solution was provided by niazy lower down the thread:

    After creating the symlink to my Dropbox desktop folder, I locked the link file by displaying its info and checking the 'Locked' checkbox.

    I still create the symlink as shown above but then set it to "Locked" to have it preserved between reboots.

    I would recommend not moving this thread to make it easier to find via search. Thank you for the link to the thread and to niazy for the solution.

  • Jane's avatar
    Jane
    Icon for Dropbox Staff rankDropbox Staff
    Hey dankohn, I understand that you’d need some help to re-configure this setting; let’s have a closer look together!  
     
    If I were in your shoes, I’d start off referencing the relevant resource. Since this isn’t something we officially support however, I’d need to point you towards other Community members’ workarounds on this & this discussion that could help shed some light on your options moving forward. 
     
    I hope that this helps & please let me know if you’d like me to move your initial post under either of the threads above or you need further assistance from me in any way! 
    • dankohn's avatar
      dankohn
      New member | Level 2

      Thank you for those links. Dropbox's change in handling symlinks is unrelated because I keep the "real" Desktop folder inside the Dropbox folder. The solution was provided by niazy lower down the thread:

      After creating the symlink to my Dropbox desktop folder, I locked the link file by displaying its info and checking the 'Locked' checkbox.

      I still create the symlink as shown above but then set it to "Locked" to have it preserved between reboots.

      I would recommend not moving this thread to make it easier to find via search. Thank you for the link to the thread and to niazy for the solution.

      • Jane's avatar
        Jane
        Icon for Dropbox Staff rankDropbox Staff
        Glad to hear that you’ve found the Solution you’ve been looking for dankohn
         
        Rest assured that the post will remain as is; I could also see that you’ve 👍🏽 this post as well, which is a great way to show your support. 
         
        I’m always here, so feel free to touch-base with me should you have any similar inquiries in the future. Take care until then!
  • AnotherAnon's avatar
    AnotherAnon
    New member | Level 2

    Mark me down as another ex-dropbox user.  My desktop needs to be where it belongs.  Used to use sym-links.  Can't anymore. :-(

About Delete, edit, and organize

Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support 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!