Symbolic link or symlink is a special type of file that contains a reference to another file or directory as an absolute or relative path. For most operations, symbolic links are transparent and the read or write operations on symbolic link files are redirected to actual files i.e the files that ...

learn more… | top users | synonyms (1)

11
votes
1answer
2k views

Wine won't follow Symbolic links

I can't get Wine to follow some symbolic links I have in my home folder or in applications. Is there a way to enable this? This is on Wine-1.5.18. Edit: Just in case it helps, I'm trying to use a ...
3
votes
1answer
234 views

Inconsistent parent directory of all symlinks

A large portion of my system depends on symbolic links, so this is a very serious problem. I do something like the following cd mkdir test mkdir other cd test ln -s ../other/ # So ~/test contains a ...
2
votes
1answer
655 views

how to create a symbolic link that works relative to the working directory

consider the following : x/ ph/ file1.txt -> ./../file1.txt file1.txt y/ ph/ -> /x/ph/ (this is full absolute path of x/ph) file1.txt /y/ph is a symlink for ph folder ...
2
votes
1answer
226 views

Why can't I follow symlinks when I use the file system gui, but in terminal everything works fine?

I've decided to go with the dedicated home/data partition way of doing things for my first multiboot configuration, and for that reason have a bunch of symlinks linking to where I've mounted that ...
2
votes
1answer
1k views

How to copy symbolic links while preserving the validity of the link?

Say under directory /usr/local/boost_1_52_0/stage/lib, I have a symbolic link: libboost_timer.so, which points to the regular file libboost_timer.so.1.52.0 in the same directory. How can I cp the ...
1
vote
1answer
115 views

When would you want to use a Hard link instead of a soft link? An example to help Understand the difference

I have read lots of posts on What is the difference between soft and hard link but still am a bit vague on the difference. I wonder could somebody give just one or two example(s) of when you would ...
1
vote
1answer
251 views

Automatically create links symbolic links between directories, creating one uber directory

I have one directory, folder1, that I have shared via samba. I have another directory, folder2, that is not shared, but contains a lot of subfolders that I do want to share. When a user connects to ...
3
votes
0answers
49 views

Cannot delete files

I've got my documents directory mounted on a separate partition from /home (/mnt/data) and linked symbolically. If I try to delete anything from ~/Documents via the GUI the window simply closes and ...
2
votes
0answers
9 views

How to properly share a directory with an another group member? soft-link / hard-link

My scenario is simple. I am working with another team members, and I want to share my directory with others. I created a symbolic link of the shared directory in their home directories. ln -s ...
2
votes
0answers
54 views

Problems with Java and Symlinks

i'm having troubles with the java jar files symlink. First of all i've to use java -jar command if i don't do it the java file doesn't run properly. Well the problem starts when i symlink the jar ...
2
votes
0answers
119 views

Back up symbolic links (not the files they link to) with Dropbox

Dropbox follows symbolic links. Apparently this is useful. But I have a folder with very large data files I do not wish to back up online. I have physical backups for it. However, I have various ...
2
votes
0answers
36 views

Symlinks dont work after restarts— then restarting nautilus fixes it

I'm having some problems with soft links that direct to folders in a partition I'm using to share files between Ubuntu and OSX. When I first set everything up it all worked perfectly, but after a ...
2
votes
0answers
33 views

Symlink problems with OSX dual-boot

I'm having some problems with soft links that direct to files in a shared partition I'm using to share files between Ubuntu and OSX. When I first set everything up it all worked perfectly, but after a ...
1
vote
0answers
21 views

I created symlinks between windows and ubuntu (ext4) partitions, and I think it's causing havoc, how do I hunt them down and remove them?

I want to remove all symlinks between my ntfs and ext4 partitions. Is there a simple way to find them, and then remove them? I am using windows 7 and 14.04. I believe I used them to force my dropbox ...
1
vote
0answers
23 views

Symlink in VBox Shared Folder are not properly formatted

I have my c:\ partition shared to VM using Virtual Box Shared Folder. It is currently mounted as /c on the Ubuntu guest. Lets suppose c:\html points to c:\Server\html on the Windows host. When I try ...
1
vote
0answers
42 views

Files lost after tar command

I had a symlink called st and I wanted to compress it into a tar.gz archive. I ran the command: tar zcf st.tar.gz st The resulting archive st.tar.gz contains only a link to an empty folder called ...
1
vote
0answers
112 views

rsync doesn't resolve target symlink to directory

I'm using ssh to connect to a remote machine. In my home directory there, I created a symlink to a mounted directory, as you can see below: username@hostname:~$ ls -l lrwxrwxrwx 1 username users 69 ...
1
vote
0answers
41 views

How can i remove home directory from download directory without deleting it

In my Downloads folder when I make ls I see the home directory, and I don't know why, I want to remove it but I am afraid to remove my home folder. Can anyone tell me how I can just remove the home ...
1
vote
0answers
151 views

virt-install - internal error: process exited while connecting to monitor, symlink to /var

TLDR: when contents of /var is stored in a normal directory, virt-install works. When /var is a symlink pointing somewhere else, virt-install breaks. New installation of Ubuntu 14.04. 2 logical ...
1
vote
0answers
27 views

Is it possible to make all files in a dir be always created as symlinks to /dev/null or ignore all writes to them in other way?

I always redirect unneeded logs that are always stored under one name to /dev/null by symlinking. But some applications create directories with files named, for example, by date. I do not want to ...
1
vote
0answers
31 views

Move files preserving symbolic links

I have some files on an external hard drive, to which I keep soft symlinks in my home folder (many links, not just one). I need to move some of the original files to another hard drive, and I want to ...
1
vote
0answers
389 views

Symlinks: Can't create one because file exists, cant remove it because there is no such file

I posted this already on stackoverflow and it was suggested I ask here... I am running ubuntu 14.04 in vagrant on a windows 7 pc. I am running VirtualBox and git bash as administrator. I've created ...
1
vote
0answers
385 views

Lubuntu 14.x - no create link or shortcut menu on right click

I have to use good old ln -s command to create a desktop short cut. I am on Lubuntu 14.x running LXDE There is no right click menu on the folder tree that means : right click --> create desktop ...
1
vote
0answers
504 views

Why can I compile against libclang-3.5.so and not against libclang.so?

I am trying to compile a C source file, that needs to be linked against a dynamic library I installed through apt-get (libclang.so). apt-get installed the clang shared libraries in ...
1
vote
0answers
149 views

Replace link for pictures in Nautilus “Places” with symbolic link to an external or other internal drive? Ubuntu 14.04

I have many pictures and when I open Shotwell it takes a very long time to load. I can see the Shotwell window and the progress bar though I do not see the thumbnails until after the indexing is ...
1
vote
0answers
118 views

Using a NAS as a collective dump, with symlinks for whoever uploaded each file

I have a local machine that was sitting around & doing very little, so I decided to turn it into a NAS (Network Attached Storage) machine, with a 40GB disk for Ubuntu (13.10), a 160GB disk that's ...
1
vote
0answers
147 views

Symbolic link error to Java / LIBJVM

All, When trying to install postgresql, I get the following error: /sbin/ldconfig.real: usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so is not a symbolic link I think this is ...
1
vote
0answers
156 views

Symbolic link for lampp isn't working 100%

Note: I'm a beginner in ubuntu I've been trying for some time to set XAMPP up on my Ubuntu machine so I can develop my PHP projects. I found out that I can't directly modify the htdocs folder because ...
0
votes
0answers
7 views

Upstart not resolving symlink

I have my server.conf in a web project and I have symlinked it to the /etc/init directory like so. $ ln -s /var/www/[mysite]/system/server.conf /etc/init/server.conf The config file is fine, the ...
0
votes
0answers
25 views

Link broken but when “ls” is used on link in terminal the content is displayed

I noticed an interesting fact today. I have a link on my Desktop pointing to windows partition (dual boot Ubuntu 14.04 & Win8.1). Because this partition is not automatically mounted the link is ...
0
votes
0answers
11 views

Symbolic link automount

I created a symbolic link on my desktop to a directory in a different partition. When I unmount the partition, clicking on the link won't automount the partition, but it will if I click the icon on ...
0
votes
0answers
12 views

Symbolic relative link created in Windows contains backslashes when mounted as ntfs

I created a symbolic link, after having booted Windows 7 64 bit on my machine that dual boots with Ubuntu 14.04 LTS Desktop 64 bit, using command tool as administrator, entering (where target is a ...
0
votes
0answers
16 views

Nautilus doesn't work but gnome-open works when opening links on Windows partition

I made a bunch of symbolic links to files on my Windows partition (like link_to_stuff -> /media/uname/Windows/stuff*) and put them on desktop (/~/Desktop/link_to_stuff). After I rebooted, the ...
0
votes
0answers
20 views

Open file in vim using symbolic link

I have symbolic link in current directory that points to text file. How to open file in vim using that symbolic link? command vim linkname not works.
0
votes
0answers
93 views

ln: failed to create symbolic link ‘/lib/systemd/system-sleep/displaylink.sh’: File exists

I'm trying to install the displaylink driver 1.0.355 to be able to connect another display to my laptop. I had an older version of this driver before but erased it. I downloaded the driver and it ...
0
votes
0answers
18 views

/opt/google/chrome/chrome: error while loading shared libraries: libnvidia-glsi.so.352.79

I am running google, but get error /opt/google/chrome/chrome: error while loading shared libraries: libnvidia-glsi.so.352.79: cannot open shared object file: No such file or directory I find ...
0
votes
0answers
25 views

launcher icon problem

I have some application like Arduino, Fritzing and Processing js, each of them needs to go to the download directory and write ./arduino,./processing... in terminal to open them. I found a way to make ...
0
votes
0answers
50 views

Symlink not working

I am trying to link java plugin to Opera. I have tried all sorts of methods. These are Opera's instructions for after JRE's installation: So that Java will be discovered, type the following ...
0
votes
0answers
64 views

Symbolic link, samba share, Ubuntu 14.04

I am a Unix dabbler at best, I would appreciate some expert help. I have upgraded one of my machines from 12.04 to 14.04 and lost a path to a windows samba share. On a 12.04 machine I have a samba ...
0
votes
0answers
429 views

How to solve linking problem to build a project?

I'm trying to run "make all" to build a project, and keep getting error CXX/LD -o .build_release/tools/compute_image_mean.bin /usr/lib/x86_64-linux-gnu/libunwind.so.8: undefined reference to ...
0
votes
0answers
56 views

How to create a symlink without expanding variable?

I'm trying to create a symlink that links /root/.gtkrc-2.0.mine to /home/$USER/.gtkrc-2.0.mine. Whenever I try to run the following, the variable expands, so if I copied it to another computer, it ...
0
votes
0answers
22 views

Moving - Installed app's data to another partition

I have installed ka-lite application in my /home directory. This application is for offline hosting of khan-academy tutorial videos. The program stores offline videos in the location ...
0
votes
0answers
17 views

Is it possible to create a symbolic link that relies on an environmental variable instead of a absolute path?

The Environmental variable will contain the absolute path. That way if an entire sub-directory is moved then one only needs to edit the environmental variable. For example if we have some directory ...
0
votes
0answers
60 views

Why wont my symlink run node?

I've recently downloaded node and unpacked it to /usr/local/node. The executable can be found at /usr/local/node/node-v4.1.0-linux-x64/bin/node. I have create a symlink to the file at /usr/bin/node, ...
0
votes
0answers
36 views

XPDC1 make error

I am coming across an error when making this software. I have already installed xgrafix, xoopic, xpdp1, and xpdp2. I believe it is solvable by linking but I am unsure on how to do that. These are all ...
0
votes
0answers
44 views

Can't get symlinks working

I'm trying to get symlinks for a Typo3 installation to work. My way to do it: cd /var/www/application/htdocs ln -s /var/www/application/typo3_src-7.4.0 typo3_src Check with ls -l lrwxrwxrwx 1 ...
0
votes
0answers
15 views

Recover Directory Links

I've just erroneously launched this command: rm -R symbolic_link_to_dir and now if I go to DIR I can't see the content folders anymore. Fortunately if I enter with my FTP I can see all of the ...
0
votes
0answers
35 views

creating symbolic link and get its place

creating link from GAMIT directory to gg; ln -s -f /home/sorbilene/GAMIT ~/gg then gg directory (involves all files of GAMIT directory) was created in /home/sorbilene. I tried to get the same place ...
0
votes
0answers
93 views

(Xubuntu) Symlinked wine doesn't open .exe?

I'm new to the site, and I've just created the account. Wine and I are having an issue right now. I'm booting Xubuntu from a Live USB and, therefore, have placed the .wine folder in another drive, ...
-1
votes
0answers
17 views

Symlink to plugin

I need to help, iam using on minecraft server plugin, player servers. This creating in ONE folder, MORE FOLDERS, like "data". All folders have spigot.jar, and others plugins folder etc.. I want ...