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)

2
votes
1answer
64 views

Behaviour of symlinks

I successfully and not successfully created a symlink: I have two directories ~/foo and ~/bar Now I have a file called baz.txt in this path ~/foo. My aim was to create a symlink in ~/bar so I ...
0
votes
0answers
14 views

Libreoffice writer: hyperlink to another document does not work

I have some files (*.doc, msword 2003) with hyperlinks for crossreference. Those files open on libreoffice, but only local targets (within the same file) work. I've tried to remove and recreate ...
1
vote
1answer
29 views

force cp to copy on dangling symlinks

Is there any way to force cp (Bash 4.2.5, Ubuntu 12.04) to copy onto a dangling symlink? cp a-file path/to/danling/symlink/a-file cp: not writing through dangling symlink ...
1
vote
1answer
16 views

How to create link that can be followed in SFTP?

SFTP jails the user into his home dir. Let's say I have two users. What if I'd like to share files and folders between them both?! Is there a way? Is it possible through links? I tried out with ...
0
votes
1answer
11 views

removing shortcut created during deb installer, at uninstall

In the deb package, I have created a desktop shortcut to the application blah.postinst: #!/bin/sh cp /usr/share/applications/blah.desktop ~/Desktop/ chmod 777 ~/Desktop/blah.desktop using dpkg -r ...
0
votes
0answers
19 views

Help creating a simple DEB installer

Installing my app is a relatively simple process, I just need to copy a few files onto the target machine. I've got a simple DEBIAN/control file, and the files I need to copy in the right ...
0
votes
0answers
14 views

Racket installation: What should be the ideal response to this installation question

I am trying to install racket on my Ubuntu 14.04. Downloaded the .sh file from http://racket-lang.org/download/. Ran sudo install into a desired folder(eg. ~/Documents/racket/). Entered ...
5
votes
4answers
27k views

how to remove symbolic link

i was doing sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but i accidentally typed something else. So now I want to correct it but it says symbolic link already exist. Please help, Thanks in ...
1
vote
1answer
15 views

Creating the $LFS tools Directory

i am working on LFS, and getting this error creating symbolic links. i checked this link but no help, also googled but nothing works. # ln -sv $LFS/tools / ‘/tools’ -> ‘/mnt/lfs/tools’ in root ...
0
votes
0answers
35 views

Nautilus shows different permissions (than `ls`) for linked directory

I'm using Ubuntu 12.04 and i have changed one of my folders permission . when i do ls -al in that directory it shows me : total 48 drwxr-xr-x 6 root root 4096 Nov 3 05:14 . drwxr-xr-x 30 root ...
6
votes
2answers
675 views

What is a “failed to create a symbolic link: file exists” error?

I'm trying to create a symlink in my home directory to a directories and files on my data partition. I've tried: ~/Documents$ ln -sv ~/Documents/saga ...
1
vote
1answer
33 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
2answers
2k views

How to find the final target of a daisy-chain of symbolic links?

I needed to issue several commands to follow a chain of symbolic links to the final target. Is there a command which will do it in a single step? which updatedb /usr/bin/updatedb ls -l ...
0
votes
1answer
8 views

What's a good pattern to use to create desktop shortcuts pointing within network shares?

I have a samba share set to mount in /media/foo when I boot, and on my desktop I have some symlinks pointing to locations within this share. If my network flakes out, the symlinks report as broken, ...
0
votes
0answers
33 views

join linux home folders with Active Directory userprofiles

I have just set up a network using Samba and Kerberos. As we wanted users to be free to decide whether they wanted to use windows or linux, we currently store userprofiles (windows) and home folders ...
70
votes
7answers
98k views

What is the difference between a hard link and a symbolic link?

As the title says, I would like to know the difference between a hard link and a soft link created by the command ln. The command man ln does provide information, but does not sufficiently answer my ...
0
votes
2answers
144 views

How to configure apache2 with symbolic links in /var/www/?

I want to setup a local web server on my Ubuntu (14.04). So I installed all software to get a LAMP server. The problem is that I do something wrong with creating my virtualhosts. I wanted to create ...
0
votes
0answers
95 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 ...
0
votes
1answer
54 views

Debian installer does not create desktop/launcher link

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
0
votes
1answer
24 views

Symbolic links for video files doesn't play the video

Dear Folks, ln -sn Videos/vfile.mp4 Documents/Symlink/ creates a symbolic link but I couldn't play the video using vlc. What is the catch?
1
vote
1answer
120 views

Trying to resolve “Cannot open shared object file libudev.so.0”? Getting too many levels of symbolic links problem

I was trying to solve the problem highlighted here: But whenever I execute ln -s libudev.so.1 libudev.so.0 or even ln -s libudev.so.0 libudev.so.1 I get Too many symbolic links error. I know ...
10
votes
1answer
843 views

Is it okay to use symbolic links in my web server?

I have the following directory setup: /var/www/html and /home/tim/Website/files_here The folder html is actually a link to /home/tim/Website. This means all my Website files are in my home area ...
0
votes
1answer
51 views

Link to shell script does not run from a different location

I have an application created using Lazarus. I can run it from the terminal like this: ./myapp para Now this file is currently in a home folder. So I created a shell script like this: #!/bin/sh cd ...
0
votes
4answers
108 views

Creating a symbolic link to a directory

I have a directory to which I want to create a symbolic link. The commands I used were: cd workspace_b4a cd android-sdk-linux ln -sv build-tools/20.0.0/lib/ platform-tools/lib The output was: ...
3
votes
6answers
1k views

How to list all symbolic links in a directory

I have a symbolic link in my /var/www/ directory that links to WordPress. When I run the command ls -la from the /var/www/ directory the link to WordPress doesn't show up. Is there a way to list all ...
1
vote
1answer
24 views

Charles breaks when run through a symlink

Charles proxy is installed right now in /opt/charles. Running /opt/charles/bin/charles starts Charles successfully. Now I want to add it to my PATH. ln -s /opt/charles/bin/charles ...
0
votes
0answers
73 views

Fixing installation of bower and grunt

I have screwed up installation and now when I do: bower install I get the following: bash: /usr/local/bin/bower: /usr/bin/env: bad interpreter: Too many levels of symbolic links How do I fix ...
0
votes
1answer
243 views

Symbolic link to resolv.conf strange behaviour in Ubuntu 14.04

I recently upgraded my PC to Ubuntu 14.04. I then experienced major problem in DNS resolution that did not work anymore. I finally found the following: in /etc, there is a 'resolv.conf' wihich is a ...
8
votes
3answers
3k views

How do symbolic links work in Dropbox?

I made some links to files in a folder. When I added that folder to Dropbox, the links contained duplicate copies of the files linked to. Have you had this problem? Do you understand what is ...
0
votes
0answers
14 views

Has the behavior of links to wine apps changed since 14.04?

Since the update to 14.04 LTS my links to wine programs have been acting strange. It's like the file is run from the location of the link and not from its installed folder. Opening a link from inside ...
3
votes
2answers
5k views

Symlink /var/www directory

I have been trying to create a symlink: /var/www -> /home/USER/code/ Following http://stackoverflow.com/questions/9104337/create-a-symbolic-link-of-directory-in-ubuntu , I entered the following ...
0
votes
1answer
29 views

How can I make a link that NTFS supports?

When I make a link so that someone can access a file over the network directly, and then copy it across, I get the following error: There was an error copying the file into ...
1
vote
2answers
38 views

Symlink are using both locations?

I've researched and didn't find any answers, so I decided to ask here. The /dev/sda2 disk of my WHM/Cpanel webserver got 100% full. The /var folder is on the /dev/sda2 disk and I've found that the ...
0
votes
0answers
57 views

Update-alternatives creating symlink to directory instead of file

I ran update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_11/bin/java 100 It is creating symlink named java to /opt/jdk/jdk1.8.0_11/bin/ instead of /opt/jdk/jdk1.8.0_11/bin/java inside ...
4
votes
4answers
8k views

Cannot transfer file due to “Filesystem does not support symbolic links” error

When I want to transfer files from my local hard drive to my thumbdrive, I keep getting this error: Filesystem does not support symbolic links. I don't know what this is, I need help with ...
0
votes
2answers
1k views

Unfortunately Deleted /usr/bin/python

Unfortunately I deleted the /usr/bin/python in my ubuntu 12.04 I went to /usr/bin/ and run ls -al then I got lrwxrwxrwx 1 root root 64 Jul 13 14:58 python -> ...
1
vote
0answers
157 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 ...
0
votes
0answers
20 views

How can I check for symlinks and hardlinks before a mv?

I need to attempt a large folder replacement on a legacy system. I would like to mv the orginal folder to a new location, replace it with another, but revert back on the original if the replacement ...
0
votes
0answers
102 views

Local folder for specific MySQL databases with symlinks

Moving specific MySQL databases under home folder using symlink used to work in the past for me (maybe before upgrading from 13.10 to 14.04) but now, following the same procedure, it just does not ...
0
votes
2answers
45 views

Finding full path of a symlink'ed file (more quickly)?

Under Properties dialog window: Link target: the path of the original file is always shortened, due to a programed restriction of characters space, even after resizing the window, and therefore of ...
0
votes
1answer
138 views

Create a working link on desktop

I am totally new to Ubuntu/Linux and I want to create a link on a desktop (is this called an application launcher?). I created a .desktop file placed on the Desktop with this content but it doesn't ...
1
vote
1answer
63 views

Symbolic Link Error with MySQL Cluster and Ubuntu 12.04

I want to install MySQL Cluster on Ubuntu and I followed this tutorial Install MySQL Cluster on Ubuntu 12.04 LTS. My management node installed successfully, but I am having a problem in my database ...
2
votes
1answer
59 views

Circular symbolic link in /var/www/

I am running apache2. I am trying to make a symbolic link from my project location to apache's /var/www/, where it pulls the files to host. Inside my project directory myProject, I ran: sudo ln ...
4
votes
2answers
849 views

how to find real file from link

ls -l java lrwxrwxrwx 1 root root 22 2019-02-17 11:37 java -> /etc/anotherLink/java when I do ls -l it shows path to file, but that file can also be a link. is there any way to show path to real ...
0
votes
1answer
499 views

How to create symbolic link to apache document root?

My apache document root locate in /var/www and i created a directory called testwp on /var/www. I changed some privileges sudo chown -R $USER:$USER /var/www/testwp sudo chmod 755 /var/www/testwp ...
-1
votes
2answers
62 views

How to identify broken symlinks?

I have more than 1000 icons in a single directory and also there are hundreds of shortcuts (symbolic links?) inside that directory with different names, some of symbolic links are broken, i need to ...
1
vote
1answer
149 views

I broke software updater by making python3 default

I tried to make Python 3 the default Python version by running: sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 This broke Python 2 programs, so I tried reversing the ...
0
votes
0answers
163 views

Copy symbolic link using install command?

Is there a way I can copy a symbolic link (as a symbolic link instead of the target file) using the install command? I have a slink in /home/user1/files/link.txt. I need to copy link.txt (which is a ...
16
votes
3answers
15k views

How to find and list all the symbolic links created for a particular file?

I had created many symbolic links on various paths for a particular file or a directory. I want the whole list of created symbolic links paths (location). Example: I created symbolic links for ...
0
votes
0answers
36 views

Folder symlinc to NAS

How to I symlink a desktop folder to our local NAS. I don't auto mount the NAS, whenever I need to reach it I type in my credentials. Does the NAS need to be mounted before the a symlink is been ...