LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   [Newbie] Unable to create links to folders (https://www.linuxquestions.org/questions/linux-general-1/%5Bnewbie%5D-unable-to-create-links-to-folders-435915/)

Heidihesse 04-17-2006 04:51 AM

[Newbie] Unable to create links to folders
 
Hello all, this is my first post.

I just installed SuSE 10.0 on my new laptop, and I created a normal user for everyday use. I have a FAT32 partition shared with Windows, and I would like to create some links to that partition on my desktop.

The problem is, the partition is mounted OK at startup, but when I open it in the file manager and try to create links to the folders I want, the menu item "create link" is grey!!

I tried to do it as root and it worked. So what do I have to do to be able to link whatever folder I want with my normal user account?

Thanks in advance!!

tredegar 04-17-2006 06:11 AM

"Hard" links are not allowed for directories. You need to make a soft link, like this:
Open a terminal.
ln -s /path/to/target /name/of/link
eg
ln -s "/mnt/windows/My Documents" /home/user/Desktop/WinDocs
Nb you need quotes "" around filenames that have spaces in them.

Edit: Alternatively, if you are using KDE, navigate to the directory you want a link to using konqueror, then drag the directory icon to your desktop, let go of the left mouse button and choose "Link Here".
In either case, if you do not like the icon that is assigned, you can change it by r-clicking it, Properties, l-click the icon shown in "Properties", and select a new one.

HTH

Heidihesse 04-19-2006 08:10 AM

Thanks! This was very helpful indeed :)


All times are GMT -5. The time now is 10:50 PM.