A symbolic link ("symlink") is a reference to a file or folder which may exist on the same or another drive in the system. Symbolic links allow users to create a more logical file layout, when the files themselves may be spread across multiple disks or relocated to more convenient locations.

learn more… | top users | synonyms (1)

2
votes
3answers
380 views

WIndows 10 & symbolic links problems

I have a dual boot configuration composed of Windows 7 and Windows 10. Both are configured a C: disk as system and D: as data disk, which includes Users directory. And I have also another (physical, ...
0
votes
2answers
111 views

Is there a way to set the symlink attribute for a file in Linux?

I have a directory that I moved from a Linux file system to an NTFS file system and broke all of the symlinks. Moving them back didn't fix the problem because all the symlinks are now very small files ...
43
votes
4answers
7k views

What are the various link types in Windows? How do I create them?

Is it possible to link two files or folders without having a different extension under Windows? I'm looking for functionality equivalent to the soft and hard links in Unix.
5
votes
1answer
4k views

How can I create symbolic links in Windows 8.1 without an admin command prompt?

I am hoping that someone can correct me where I'm going wrong when trying to create a symbolic link in Windows 8.1 without having to run cmd.exe as administrator. Whenever I try to create a symlink ...
1
vote
1answer
46 views

Scrapy using older version of OpenSSL

I am running into errors because my Scrapy is using an older version of openssl (OpenSSL 0.9.8zh). I upgraded my openssl version (1.0.2h) using brew install openssl but I don't think Scrapy is using ...
1
vote
1answer
3k views

symlink and sudo executable

If I have the below sudoers entry usera ALL=(userb) NOPASSWD: /home/userc/bin/executable-file usera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-file When I log-on as usera and ...
3
votes
3answers
142 views

File sync service supporting symbolic links

I wonder if any of the mainstream sync services (e.g. Dropbox and the likes) is able to sync relative symbolic links among the synced folders correctly. And by supporting I mean uploading and ...
1
vote
1answer
117 views

Symlink to a nonexistent drive in Windows

When I try to create a directory junction to a windows drive that does not yet exist, I get the following message: C:\>mklink H H:\ /J Local volumes are required to complete the operation. I ...
18
votes
4answers
11k views

Does Windows have the ln -s or equivalent?

I need to link a file to C:\Windows\System32\drivers\etc\hosts How can I do that with Windows ? Is there a soft link such as ln -s or equivalent in Windows ?
0
votes
0answers
18 views

Directory Symbolic Links do not appear in Start Menu/All apps on Windows 10

In windows 7 I had a folder in "C:\Users\myusername\AppData\Roaming\Microsoft\Windows\Start Menu\Programs" that was a symlink to a UNC path on a network share. That folder (and the programs inside it) ...
3
votes
1answer
36 views

MKLINK (symbolic link) not working

I am trying to create a symbolic link on my Windows 10 64bit to redirect the iTunes backup file to my external hard disk (D:\) This is the link I added in my command window: mklink /J "%APPDATA%\...
-1
votes
0answers
10 views

Symbolic Link/Junction Link

Would it be possible if for instance I have 3 servers where Server1 ↔ Server2 ↔ Server3 Where server1 can connect to server2 and server2 can connect to server3 but server3 cannot connect ...
212
votes
2answers
108k views

“directory junction” vs “directory symbolic link”?

MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates ...
2
votes
2answers
1k views

Windows symlink to executable - does not open by double click

On Windows 7 I created a symbolic link to an executable using: mklink Test.exe C:\Path\to\source.exe But when I try to run it by double clicking on it, i get the "open with" dialog. Running it ...
1
vote
1answer
13 views

Symlink prompting “Open with” [duplicate]

I can create a symlink: > mklink bravo.png alfa.png symbolic link created for bravo.png <<===>> alfa.png However this is on a virtual machine. For some reason if I create one ...
1
vote
0answers
60 views

Windows junction invalid on network share

I usually have this setup on my Windows machines: I share a single folder such as C:\share as network share. Then I use mklink /J somedir C:\somedir to create junction points to directories I want to ...
1
vote
2answers
2k views

can I create a symlink from an ec2 disk to S3 bucket?

Is it possible to create a symlink from a file on the local disk of a Windows machine in ec2 so that it is actually stored in an S3 bucket? MSMQ wants to write our queue to a local disk and this ...
10
votes
6answers
14k views

Windows 7 / Symlinks - How do I copy a Symlink to a directory?

Is it possible to copy a Symlink to a directory in Windows 7. When I try to copy a symlink'd directory, it tries to deep copy the contents to the location.
1
vote
1answer
163 views

7Zip Cannot create symbolic link, access is denied to libhdfs.so and libhadoop.so

I am working on Windows 10 and trying to install Hadoop I downloaded it from here. When trying to extract Hadoop for files (libhdfs.so and libhadoop.so) I am getting the error. Cannot create ...
0
votes
1answer
14 views

Share a 'Local' relative link to a Dropbox folder

We use Dropbox for business, so have extensive shared folders. I want to provide a direct link to a file, but via the local copy not by a web link. In the particular case it is under windows in an ...
1
vote
1answer
77 views

Linux/Bash: Create relative soft links to files in directory tree?

I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir. That could be ...
1
vote
0answers
88 views

Symlink between different drives doesn't work

I have a folder which I want to move from D:\ to C:\ drive (they are two physical drives) without breaking anything that uses this folder. Following some guide I moved my folder to C:\ and tried to ...
1
vote
1answer
53 views

Cloud Drive alternatives (Bitcasa) [closed]

So I've been using a company called Bitcasa to store my data in the cloud. Recently got an email stating they are shutting down their personal packages and that I need to move my data. I had been ...
6
votes
4answers
7k views

How can I make git commit files in a symlinked folder

I have two folders: /home/me/code/project/ /srv/www/projectfiles/ In the /home/me/code/project folder, I have symlinked static to /srv/www/projectfiles/ i.e. /home/me/code/project/static/ -> /srv/...
0
votes
1answer
27 views

VirtualBox Vboxmanager not seeing VMs

I need to enable symlinks in my virtualbox shared file called sf_VMShare following this tutorial. When I run the command: VBoxManage setextradata YOURVMNAME VBoxInternal2/...
24
votes
2answers
21k views

View a list of symbolic links on system?

Is there a way to see a list of all the symbolic links that are active on a Windows machine?
0
votes
1answer
18 views

Setting up symbolic links so they'll work with winSCP or similar program

My user has a home directory /home/user1 I want her to be able to edit files in: /home/user2 So I put symbolic links in her directory so like this: sudo ln /home/user2/file.php /home/user1/file....
0
votes
1answer
62 views

Change location “Download” folder from CMD - Windows 8.1

I'm trying to change the location of the Windows download folder. I want to do from the CMD and not from "right click - Properties - Location - Find Target". I already tried with the symlink (mklink), ...
0
votes
1answer
38 views

strange soft link ln command issue on Mac

I want to create empty directory /Library/Java/JavaVirtualMachines/jdk1.8.0_5.jdk/Contents/Home/, which points to the real directory /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/, ...
6
votes
4answers
20k views

Windows Server 2008 Create Symbolic Link, updated Security Policy still gives privilege error

Windows Server 2008, RC2. I am trying to create a symbolic/soft link using the mklink command: mklink /D LinkName TargetDir e.g. c:\temp\>mklink /D foo bar This works fine if I run the command ...
0
votes
1answer
38 views

Cannot figure out how to use this MKLINK (Yes I read documentation properly prior)

Basically I have this software that only validates my key if it's installed on the main drive (where the license is located in appdata). I have to install my files on the C, which i don't want. So I ...
8
votes
2answers
20k views

Ubuntu: Creating a symlink with network shared folder

I'm trying to create a symlink with a network shared folder (located in a windows sys) from my ubuntu system using the command. ln -s smb://sys-name/www www It creates a link but it says the link is ...
0
votes
1answer
37 views

centos - cannot create two symlinks to /var/www/html

I have two users chrooted to their home directories, that need access to /var/www/html. I tried to solve this by creating a files directory within their directories and in that files directory create ...
0
votes
0answers
7 views

How to migrate symbolic links from two folders?

I made a backup of "zimbra ce" rsync but I just realized that you have not copied symbolic links. I have a clean installation zimbra in /opt/zimbra/ and backup in /opt/zimbra_old/, how I can copy all ...
1
vote
0answers
42 views

SSHFS Permission Denied to symbolic link

I can mount a remote directory to /home/user/mnt and can see symbolic links via ls of that directory, but I cannot r,w, or x the links. I mount using the code below, using RSA key pairs for automatic ...
34
votes
8answers
60k views

Create a symbolic link in the Mac OS X Finder

Is there a way to get the same functionality as the unix command ln -s in the Mac OS X Finder (OS 10.5)? I want to be able to create symbolic links while working in Finder windows without opening the ...
3
votes
3answers
6k views

How to view all the Symbolic links,Junction points,Hard links in a Folder using dir?

The command dir /a displays a list of all the files,folders in a given location. But it displays the type for Junction Points as well as Symbolic Links to Folders. Is there any command which will ...
11
votes
2answers
9k views

Symbolic links and 7zip

I'm trying to compress a folder into a .7z archive. This folder contains symbolic links to some other stuff outside the folder (both directories and files). Apparently 7zip just archives the link ...
0
votes
0answers
9 views

How to make a symbolic link to an USB device under Windows? [duplicate]

Scenario: I use a PC running Windows (10). I run git. git looks up the directory %USERPROFILE%\.ssh for the private keys. Problem: I want to keep my keys on my removable USB drive. I can make a ...
0
votes
0answers
14 views

Link errors with symlinks

I've moved all the files of ./usr to an external drive /home/Linkados/usr (SD card 8Gb) using $rsync --progress -l -r /usr /home/Linkados/usr Then I created a symbolic link from my SD to my flash ...
0
votes
1answer
96 views

Too many levels of symbolic links

I want to simply link a source file to a destination file. However, I get Too many levels of symbolic links and don't know what is wrong with my files. Here are the information [root@cluster ~]# ls /...
4
votes
0answers
25 views

Why symlinks can slowdown git?

I keep my current working project on SSD drive but git folder inside is symlinked from another (encrypted) disk with mklink /J /D. SmartGit warned me that using symlinked git folder may have a ...
0
votes
1answer
25 views

Why does make install not update my symlinks?

DEAR FUTURE PEOPLE: When this happens, try adding --prefix=/usr/ or --prefix/usr/bin/ to the end of the command to invoke the config script. I thought that the entire point of including a ...
0
votes
1answer
183 views

Symbolic linking in Terminal (What am I doing wrong?)

I want to create symbolic links for all files in a folder parent/target/. I want the links to be in the folder parent/destination/. My working directory is parent/ for the following terminal output ...
0
votes
0answers
16 views

Apache and Symlinking

I have a WSGI python webapp running on my home computer, and the database it accesses has become too large for my root directory. I have moved and symlinked /var/www/html to /home/var/www/html (which ...
0
votes
1answer
23 views

Can't delete symlink with backslash or file extension in the name - Windows/IBM/Unix PHP

We created test symlinks from the PHP 5.2 symlink function running on IBM i AIX (Unix) PowerSystem 5 (OS400 V7R1M0) but with backslashes or the file extension in the name (like .pdf), and are unable ...
1
vote
0answers
49 views

Windows: Is a symlink to NUL (or \\.\Device\Null) possible?

I have an application at hand, which insists on writing huge amounts of log lines into a file, that I have to clean out manually all the time. Is it possible to somehow replace the file with a ...
3
votes
0answers
38 views

Apache fails to display/follow symbolic links

I'm running apache v2.4 to host a personal web site on my office mac mini running OS X 10.10. The basic site is working fine but its throwing the 403 forbidden access error when I add symbolic link to ...
1
vote
0answers
19 views

symbolic links that will not break even after copying [duplicate]

I want to create a symbolic link which will not break even after copying the entire directory( which includes the link and its target) in a pendrive/sd-card and using the pendrive/sd-card in other ...
2
votes
1answer
768 views

Have Yum update vmlinuz, initramfs symlinks in /boot automatically (Fedora)

Whenever Yum updates the kernel, there's a new set of (vmlinuz* initramfs*) files in /boot and the Grub config is updated to directly point to those new files. Where is the setting that will force ...