Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [symbolic-link]

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.

1
vote
0answers
2k 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
133 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 ...
0
votes
1answer
1k 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/...
2
votes
1answer
575 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 ...
0
votes
1answer
430 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
1k 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
73 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/, ...
2
votes
0answers
569 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 ...
0
votes
1answer
54 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 ...
0
votes
1answer
219 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 ...
1
vote
0answers
442 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 ...
0
votes
1answer
11k 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 /...
6
votes
1answer
343 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
115 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 ...
1
vote
0answers
619 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
580 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
50 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 ...
0
votes
1answer
576 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
24 views

Is it possible to create a user-dependent link to a network folder?

This is, I guess, more of an academic question, but is it possible to create a link at common pointing to the user's network-home directory? So, when user A follows this link, it points to Homedrive/...
3
votes
0answers
807 views

Symbolic link doesn't work across drives

I'm on Windows 10. Running the command: mklink /D "G:\test" "C:\test" ...Is successful. However, in explorer when I double click the folder on G:\ and try to access any file in there, it says "...
1
vote
0answers
273 views

Can't get symbolic links to work with the mklink command in cmd

I'm trying to create a symbolic link in cmd (yes, I have admin privileges) like this: mklink /D "G:\test" "C:\test" The command runs without issue: "Symbolic link created for G:\test <==> C:...
1
vote
0answers
138 views

Hardlink on same drive gives error about different drive

I'm using mklink /h to create a hardlink from "d:\some folder" to "d:\some other folder" and Windows 7 is telling me "The system cannot move the file to a different disk drive." But it's NOT a ...
2
votes
1answer
145 views

Cannot change files after creating a symlink in Windows 8.1

I created a symlink in Windows 8.1 (to point my documents folder to dropbox). Since then I am no longer able to write or delete contents in that folder. I always get an access denied error (but I am ...
1
vote
1answer
144 views

unable to remove symbolic links of rsync copy of /bin and /dev

I accidentally made a rsync copy of my root directory, "/" using the -a option, as follows: user@mycomputer:~$ rsync -a / /backup-dir user@mycomputer:~$ ls -l /backup-dir/ total 10102784 drwxrwxrwx 1 ...
0
votes
1answer
62 views

File Operations Using Symlink Source/Destination

I've created a set of symlinks which I can use in BASH with CDPATH: 'desk' which points to my desktop, and 'docs' which points to my documents. I can cd using these symlinks cd docs without problems, ...
-1
votes
1answer
62 views

Can I hardlink my desktop folder to a different partition so I can put big files on it?

Correct me if I'm wrong, but a hardlink is esentially like a shortcut that can trick applications to think it is a real folder. It allows you to specify an application to point to a shortcut to save ...
6
votes
4answers
10k 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, ...
2
votes
0answers
204 views

How to configure Windows 7 firewall outbound rules for symlinked applications?

I'm using Windows 7 Ultimate. I have set the built in firewall in outbound white list mode (block unless allowed by a rule). Now I'm trying to configure some outbound rules for the built in ...
0
votes
1answer
726 views

How to allow ftp user acess folder outside his root directory?

I am trying to create an ftp user that will have access to several folder on public_html but I don't want him to get access to all folders in public_html. Just to the specific ones. Here is the ...
1
vote
0answers
137 views

Use Junction or symbolic link to “rename” NTFS directory

I was wondering (indeed it would be very useful) if it is possible to use NTFS Junction, symbolic link or something like that to use an alias for some directory, and at the same time to hide the ...
0
votes
0answers
59 views

Running fsck.ext3 removes symlink to device

I have an external usb drive for which I have udev create the symlink /dev/externalbackup when it is plugged in via the following rule: KERNEL=="sd?1", ATTRS{idVendor}=="0c0b", ATTRS{idProduct}=="...
1
vote
3answers
288 views

looking for list of symlinks in Dropbox folder - find syntax not working

I am trying to move my Dropbox folder from an External Drive to a different External Drive. I was getting error messages that files couldn't be moved and according to Dropbox tech support it's ...
76
votes
4answers
192k views

How to create a Symbolic Link on Windows 10?

Was reading http://www.dropboxwiki.com/tips-and-tricks/sync-game-saves-across-multiple-computers and I know junction/mklink worked in Windows 7 as well, but seems like the junction command has been ...
0
votes
1answer
74 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 ...
5
votes
1answer
8k views

creating symbolic links on networked drive

I'm trying to better organize my public folder at work and I need to maintain old links that I have emailed to people in the past. I'm thinking of creating symbolic links so that I can maintain those ...
3
votes
1answer
46 views

Robocopied Junction not Showing Icon? Robocopied Symbolic Link also Not Showing Icon?

I'm not familiar with how robocopy handles junctions, symbolic links, and hard links. I tried to copy one of each, and I noticed the icon that shows over a junction and symbolic link does not seem to ...
1
vote
2answers
478 views

Are symbolic links in /usr/local/bin to scripts in users home directory a security risk?

When I want a script (usually bash or python) to be executable from anywhere in my folder structure, I tend to put a symbolic link into /usr/local/bin. Thus, I don't have to recopy the script every ...
0
votes
1answer
102 views

How to Count Hard Links, Symbolic links, and Junctions on an Ntfs Volume

I know of some programs that claim to count one or the other, but I don't know of any that can count all three. I would like to count all three and print out a list like so: Hard Links: 123 ...
0
votes
1answer
64 views

Jump Drive Letters in Web Server URL

We have an internal only web server. Let's call it 'blink' 'blink' is running Windows Server 2008 R2 Standard 'blink' has a D: drive with a folder structure of D:/path/to/file.filetype The web ...
4
votes
2answers
1k views

Creating Symbolic Links in Cyberduck?

With SFTP, Cyberduck supports creating a symlink by right clicking a file or folder, and selecting create symlink. This then creates a symlink in the same folder as the file/folder you're linking to. ...
1
vote
1answer
14k views

RPM: How do I deal with “unpacking of archive failed … cpio: symlink”?

I've gotten stuck on a problem. I'm packaging an existing project into an RPM. It builds fine but when I run sudo yum localinstal --nogpgcheck <path to rpm> I get the following error message: ...
0
votes
0answers
303 views

Access denied when creating symlinks

One of the development tools we use (ember-cli.com) requires symlinks in order to be performant on windows. The recommended strategy is to either run your shell as an admin or to add the ...
0
votes
0answers
93 views

Maintain duplicate files with same/ different names on a Windows NTFS drive? Use junctions, symbolic or hard links?

Maintain duplicate files with same/ different names on a Windows NTFS drive? Use junctions, symbolic or hard links? I've read junctions, symbolic links and hard links, but its unclear how the ...
0
votes
1answer
161 views

Symbolic link - How does it work?

Using Windows 7 Overview- I have an SSD and HDD installed in my computer. I would like to have all data files (ie AppData) saved to the HDD, this way I avoid unnecessary read/writes to the SSD. Goal-...
8
votes
3answers
4k views

Copy to another NTFS disk and preserve hard links

I have to copy directory structure from one local NTFS disk to another (Windows 7+) and preserve hard links that exist within this directory structure. An acceptable solution would be to replace hard ...
1
vote
2answers
2k views

Give an application symlink permissions within a directory in Windows

I don't know much about Windows permissions, but is there a way to give a script or application permission to create symlinks that link only within a a directory tree that say an application "owns"? (...
1
vote
1answer
120 views

Recursively copy a directory entirely as symlinks, preserving current symlinks

I would like to make an exact copy of a directory (which contains sub-directories, files, and symlinks) except that I want each file in the target directory to be a symlink back to the original file. ...
7
votes
3answers
826 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
2answers
114 views

Mac ln -s command no response but previously working

Apologies in advance for any rookie errors on my part... I'm a PC user recently thrust into the world of Macs via new job... Running OS X Yosemite 10.10.5 PHP version 5.5.27 Apache version 2.4.16 (...
0
votes
0answers
140 views

Creating Symlinks from a iSCSI-Volume to a Fileserver

my fileserver is near capacity limit (using Windows 2012) und full of files, that hasn't been used for years, but still need to be kept for researches in the future. Furthermore the unused and ...