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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
9 views

Website: Error 403 on Symlinks Pointing Outside of Webroot

I am trying to create a website in the latest version of Fedora Linux. I want the website to point to something in my home directory. After doing some Googling, I can acheive this with a SymLink. The ...
0
votes
1answer
43 views

Directory shortcut for Windows console

I would like to create a shortcut to some directory which I can use in Windows console with a cd command. So I create a directory symbolic link: mklink /D link_name c:\some\path /D is for a ...
0
votes
0answers
27 views

Getting the real path of the current directory when using symlinks [duplicate]

So I just found out that my build fails on the build server (Windows 2008 R2) because the workspace is located on a different drive using symlinks. The build path is C:\Program Files (x86)\Jenkins\...
0
votes
1answer
28 views

-bash: /usr/sbin/mail: No such file or directory

I've been having mail issues for a little while now and decided that today I was going to fix them! Well now I'm stuck. The issue was, when I type mail it doesn't display my mail, looking at my ...
0
votes
2answers
23 views

ls -l shows symlinked directory with two trailing slashes

I just copied my ~/.config directory to another and symlinked it back to $HOME. When I run ls -l this shows up like this with the double slash at the end: lrwxrwxrwx 1 lud lud 22 Jul 23 20:25 ...
1
vote
1answer
56 views

Strange Undeletable Folder

Not sure if I have malware or not, but I discovered this folder as I was working on my website: Seems pretty normal, right? Well, when I tried to delete it, it was apparently symlinked to the actual "...
0
votes
0answers
21 views

Creating symlink

I have apache server running on Ubuntu 16 server which is totally headless,i have created a seedbox onto it under user USER1 My download directory is /home/USER1/rtorrent/download For some reason so ...
0
votes
1answer
69 views

Clients can't create symlinks on Samba share

As recommended in many answers to questions about samba shares and symlinks, I have tried explicitly enabling "follow symlinks" (although documentation says it is on by default) as well as enabling "...
2
votes
3answers
233 views

How to parse a directory recursively and MKLINK each file into a target path with the same tree structure

I have a directory a\ containing files and sub-directories that I want to copy into path b\ where instead of copying the files I want to perform a call to MKLINK <link> <target> on each ...
0
votes
0answers
140 views

Filezilla won't follow symbolic links

I'm having some difficulty getting FileZilla to show the contents of a folder that is the target of a symbolic link. In the screenshot commonfiles and db_uploads are symlinked folders that show as ...
0
votes
1answer
41 views

How to make a windows program see a different view of the hard drive

I'm looking for a way to make some of my windows programs see a different view of the hard-drive as follows - Let's say I want to make the contents of c:\folder1\folder2 look like d:\folder3 to one ...
1
vote
3answers
81 views

How does one migrate from HDD to SSD+HDD without having to reinstall all the programs?

Okay, so I currently have a 4 TB HDD split into 2 partitions, one of which is my C:\ drive. I run Windows 10, and have lots of programs installed. I also have a 250 GB SSD as a secondary drive, but I ...
0
votes
0answers
32 views

ROSConsole Build OSX Boost Undefined Symbol Linking Error

I'm trying to build ROS for OSX and having an issue with a undefined symbol for boost. Boost is latest version. How do I fix this so I can finish compiling?! Note: I do not want to edit any source ...
1
vote
2answers
109 views

Unlink (remove) directory symlink

I did: ln -s /DATA/ ./base_DATA/ and I'd like to unlink. Simply: unlink ./base_DATA but... unlink: cannot unlink './base_DATA': Is a directory According to this answer (and many other online) the ...
0
votes
0answers
24 views

symbolic link preventing installation of new programme

On my Win10 desktop system I have a symbolic link between a flightsim program (XP11) on a dedicated drive, to massive scenery data files (tiles) on a different (larger) dedicated drive. The program I ...
0
votes
0answers
51 views

Access the Symbolic link connected mount device on server by smb(windows)

I have Nas server which has symbolic link to mount device connected by SATA. Like this /data/myNas/myfile.avi -> /mnt/externalDisk/myfile.avi (the file is on Nas) /mnt/externalDisk/myfile.avi (...
0
votes
0answers
57 views

Removing certificate and re-running update-ca-certificates leaves lingering symlinks

I have removed a (root) certicate, and re-run update-ca-certificates: $ sudo rm /usr/local/share/ca-certificates/mine.root-ca.crt ls -l /usr/local/share/ca-certificates/ total 4 -rw-r--r-- 1 root ...
1
vote
1answer
94 views

Should I create a junction and symlink to a directory at the same time?

OS: Windows 10 Home. After reading the difference between a directory junction and a symlink, it is clear, that these two things are different. What is not clear after reading How do I create ...
1
vote
0answers
22 views

Use shared directory as read-only source of multiple distinct target directories - Windows 10

I have a source folder which I want to use as a starting point for multiple distinct target folders. This can be trivially done by copy-pasting the source folder, then just using the new directories. ...
0
votes
1answer
511 views

Virtualbox Ubuntu 18.04 permission issue to symlinked share host folder

Trying to get a Ubuntu 18.04 installation for Wordpress on a Win 10 host. The host shares a folder with the VM, which is the root to multiple projects. This is a fresh VM built from the std Ubuntu 18/...
1
vote
0answers
102 views

Tried to backup iPhone to external drive by mklink/J. Now it won't backup at all

I intended to use this command: mklink/J "C:\Users\DELL\Appdata\Roaming\Apple Computer\MobileSync\Backup" "G:\iPhoneBackup" to directly backup my iPhone to the folder iPhoneBackup on an external ...
0
votes
1answer
19 views

Create Symbolic Link as Regular user

I need to create a Symlink that lives in user roaming AppData, and points to a folder on another local drive, which is user specific. I have tried both mklink and New-Item -ItemType SymbolicLink in ...
0
votes
1answer
166 views

csh: How to check if symbolic link exists?

Symbolic link was create by command ln -s. Tried if ( -e "$link" ) and if ( -f "$link" ). But it's not working.
1
vote
0answers
23 views

Is there a way to ignore symlinks when copying from Linux to Windows?

Ignoring symlinks when copying from one Linux machine to another is easy: rsync -a --no-links <usr>@<ip>:<source> <destination> For Linux to Windows, I'm currently using PSCP ...
1
vote
1answer
110 views

What is the difference between /sys/class/block and /sys/block

When I do an ls of either dir, their contents are very similar /sys/class/block $ ls /sys/class/block dm-0 dm-3 loop1 loop4 loop7 ram10 ram13 ram2 ram5 ram8 sda1 sda4 dm-1 dm-4 loop2 ...
0
votes
2answers
95 views

How to configure bash to always resolve full path for symlinks [duplicate]

Moderators: THIS IS NOT A DUPLICATE!!!! The answers linked to do not, actually, answer my question, the way the accepted answer does. Google only points at the other answers, which are not actually ...
0
votes
0answers
23 views

Wrap or proxy a system command to add a parameter

Can I use an alias or symlink, or otherwise wrap the OS X command fsck_hfs to always add a -c parameter (to allocate cache memory) when diskutil calls fsck_hfs? Since diskutil (and the GUI Disk ...
0
votes
0answers
39 views

Move SoftwareDistribution Windows update folder [duplicate]

I have to free some space in my small SSD with Windows 10, can I move SoftwareDistribution folder of windows updates to another volume using link? If yes, may I use symbolic, hard or junction?
0
votes
0answers
25 views

Symlinks on Windows WITHOUT UAC popup

I have a Windows commandline tool for developers (maybe a redundant point). This tool creates symlinks for certain tasks. I'm looking for a way to have the tool install so that it can create ...
0
votes
3answers
157 views

Linux symbolic links: how to go to the pointed to directory?

I have a project in its own directory: /dir/to/project/ I have a symbolic link to that directory on the desktop: /home/user/Desktop/project/ When I double click on that link, the directory ...
2
votes
0answers
55 views

What's going on with this reparse point created by mklink?

Here's some odd behavior I encountered with mklink which ships in Windows since Vista. I suspect if may be a defect in mklink or even as deep as the NTFS file system driver, but the behavior could use ...
3
votes
0answers
293 views

2-Way sync doesn't work in OneDrive when using symbolic links or junctions

I’ve already read a lot about the problems with Symbolic Links and Windows 10 on internet, but not about the phenomenon I run into now. So here it is… My goal is to 2-way sync a folder (‘My Music’), ...
0
votes
1answer
23 views

how is it possible that the output of two commands differs, one being symlink of the other?

One executable file is symlink of another: #ls -l /sbin/depmod lrwxrwxrwx 1 root root 11 Mar 15 07:00 /sbin/depmod -> ../bin/kmod Then why is this: #/sbin/depmod depmod: ERROR: could not open ...
0
votes
0answers
24 views

problems exucuting x86_64 app on odroid

i have check the dependencies that are satified so what i do: *EXAMPLE RUNNING ON ODROID ARMV7L ldd ./app not a dynamic executable my question is if there is a way to link my executable file to ...
0
votes
2answers
56 views

linux bash - can I create a shortcut (similar to windows) instead of a symbolic link?

so lets say I start here: /home/user1/$ I want to make a shortcut to /tmp/subdir1/subdir2/here Normally I would make a sym link: /home/user1/$ ln -s /tmp/subdir1/subdir2/here here Then I can do: ...
0
votes
1answer
45 views

find multiple files, and copy real files from symlink

I was reading this question but it hasn't answer, and the mine its different. Linux: Trying to find files from a list recursively and copy them somewhere else I'm trying to find the real files from ...
0
votes
1answer
394 views

How to handle symbolic link in my git repo

I have two git repos, A and B under separate paths. There is a sub-folder in one repo (A/subfolder) that contains some data files. On my local machine I have a symbolic link in B to access these ...
0
votes
1answer
162 views

NTFS symbolic links in a multi-OS environment

On a system with GNU/Linux / Windows dualboot, I want to save disk space by sharing a partition with data. It is supposedly not a problem to use a cross-platform NTFS partition by assigning it a ...
1
vote
1answer
27 views

Windows will not startup after symbolic link of installation folder

I did a symbolic link of the Installer folder which is in the Windows folder on my C drive, which I moved to my E drive. Everything seemed to be going well, but after I restarted my pc it just doesn't ...
1
vote
0answers
18 views

Can symlink or bootloaders be used to gain space/boot off a microSD?

I have a basic notebook that came with Windows 10 but only has 32 gigs HD space. After updates windows literally could not install all of it because of the size. It does have a microSD slot and I have ...
0
votes
0answers
189 views

Rsync with hardlinks and broken symlinks

I am quite new to Linux administartion and rsync. I have a following question. Scenario: I have a fileserver A where, I want to back up a particulary huge folder of a user of ~7TB to fileserver B. ...
0
votes
0answers
156 views

Git symlink compatibility across operating systems

I would like to create a symlink ("file2" pointing to "../directory1/file1") on a computer using Linux, and add it to a git repository (with "../directory1/file1" also being present in this repository)...
0
votes
1answer
56 views

hardlink/symlink with mapped drives in Server 2003

I'm trying to create a hardlink on a Windows Server 2003 system using fsutil hardlink create M:\docs L:\docs but am receiving a message stating "The FSUTIL utility requires a local NTFS volume. I ...
0
votes
0answers
25 views

Remove default udev node /dev/sd[a-z]

I have a USB-Floppy Drive and it automatically gets a /dev/sd[a-z] node. I managed to get a symlink to /dev/fd0 with this udev rule: ATTRS{idVendor}=="057b", ATTRS{idProduct}=="0000", SYMLINK+="fd0"...
0
votes
1answer
160 views

mklink demands administrative privileges despite secpol.msc's “create symbolic links” permission being set and despite running cygwin's editrights

This is not a duplicate , because I tried the solution here How do I create a link in Windows 7 home premium as a regular user? and another solution too that I mention, and it didn't work and i'm ...
1
vote
1answer
293 views

How can I make a symlink to a directory owned by root that's readable by anything?

I'm attempting to set up a standalone secure certificate using CertBot and create a symbolic link (./public/certbot) from my server so that I can include the certificates without them actually being ...
0
votes
1answer
43 views

Remove hard link when target is locked by system process

I've created a hard link (not symbolic link) Arial.ttf in my user directory using the Git for Windows GNU tool ln.exe and Bash. The link points to the system font C:\Windows\Fonts\arial.ttf. ln /c/...
1
vote
1answer
514 views

How to avoid an absolute path to an executable in systemd?

I have multiple different projects already containing Upstart services and am implementing the approach to symlink those services into /etc/init directly from a SVN working copy. Upstart provides ...
0
votes
1answer
125 views

How to get Admin privileges to Application Support folder to create Symlink?

I want to have all of Apple Logic’s sample and loops on an external drive with a Symbolic Link in /Library/Application Support. I’ve done this before on a different Sierra system, and had no problems, ...
1
vote
0answers
41 views

I cloned my hard drive. Can I make ntfs permissions and symlinks go away for another machine?

I recently got a new computer. Because my current computer is kind of faulty, I took the fastest and least painful route to getting the 840+ GB of data on it to an external hard drive to bring to this ...