Create Softlink to Onedrive Folder in Admin Root

I am using onedrive (Onedrive is terminal based sync application used to sync onedrive from local folder to onedrive in cloud from microsoft) to sync folders. Since, it is in root folder, it asks for permission everytime I open and I also can't directly download files into this folder as it is not shown in short cup. The current folder path is in admin:///root/Onedrive. So, I am trying to create the symbolic link by using ln -s /root/OneDrive /home/myFolder/OneDrive. But it doesn't work. Error message says this link can't be used because its target doesn't exist. The created shortcut link is broken and says target doesn't exist. How may I solve this issue?

5
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article