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.

0
votes
0answers
72 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
1answer
514 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
530 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
854 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
366 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
55 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
759 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
64 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
303 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 ...
1
vote
2answers
609 views

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

Moderators: THIS IS NOT A DUPLICATE!!!! Please remove the duplicate mark. The answers linked to do not, actually, answer my question, the way the accepted answer does. Google only points at the other ...
0
votes
0answers
25 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
40 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
55 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
618 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
205 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 ...
6
votes
1answer
971 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
61 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
68 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
728 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
386 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
29 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
20 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
269 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
269 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
121 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
27 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
374 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
548 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 ...
1
vote
1answer
69 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
1k 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
213 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
45 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 ...
1
vote
0answers
150 views

Rsync a certain number of sub-directories

I'm currently working on migrating almost 80 jenkins servers for our company into a single jenkins server. I've already worked out how this will appear once we get the jobs migrated, however getting ...
3
votes
0answers
720 views

How to delete a folder that may be a junction, and the destination using command line in Windows

I want to completely remove a 'folder' that may or may not be a junction to another folder. If the 'folder' isn't a junction rd /s /q 'folder' will do the job. But if the 'folder' is a junction to ...
5
votes
3answers
4k views

How to sync directory symbolic link with Google Backup and Sync? (or how to sync files that aren't in the sync folder?)

In my Backup and sync folder on my computer, I have created several directory symbolic links so that the files on the "real" location can be backup on my google drive. The directory symbolic links ...
9
votes
3answers
948 views

does PATH search include symlinks?

The POSIX shell standard says on this site http://pubs.opengroup.org/onlinepubs/9699919799/ about how shells use PATH to look for executables: "The list shall be searched from beginning to end, ...
1
vote
0answers
175 views

Windows symlink multiple images to new folder, can't iterate through symlinks using Photos app, and Explorer does not display image thumbnails

I learned from this question how to make symlinks in Windows. I think Python actually uses the Powershell command New-Item under the hood to make symlinks in Windows. I make a bunch of symlinks that ...
0
votes
1answer
327 views

How to use the “symlinks without elevation” feature from the windows 10 Creators Update?

I have installed the Creators Update for Windows 10 and enabled Developer mode. I can create symlinks using cmd with the command mklink, but my main use of symlinks comes from softwares such as ...
0
votes
1answer
170 views

Undeletable Symlinks in Windows

Started with an early version of Windows 10, tried the Fall/Creator edition, didn't like it (too many ads), rollback failed, reinstalled from from HD. Somehow, Windows.old got created, and in in it, ...
0
votes
0answers
52 views

How to assign SeSymbolicLinkPrivilege to a user by command line?

How can I assign a user the SeSymbolicLinkPrivilege (permission to create symbolic links) through a command line script? Ideally with just cmd and without the use of PowerShell.
0
votes
0answers
703 views

can I symlink root's ~/.ssh to another user's? (for a local VM)

(I am working on a VM on my local machine, so security isn't really important right now. I wouldn't do this on an open machine). I'm working on a complex build and spending a fair bit of time ...
0
votes
2answers
74 views

Create new file in /etc without overriding existing files

Is it possible to create a new file in /etc without overriding some of the existing files? I need to add something to /etc/fstab but would rather create a new file where I can add my custom ...
0
votes
0answers
28 views

How to copy a debian mediawiki installation

The MediaWiki installation on Debian uses a file structure all over the system and symbolic links to enable/disable extensions/configs etc. I understand this is because Debian has preferred locations ...
0
votes
1answer
92 views

how much of a bad practice is it to use links instead of copy?

Currently my work flow is that for every presentation/paper I'm writing I create a folder with a subdirectory for figures. I want to have a central figures directory, and simply simlink to it ...
2
votes
0answers
325 views

Create a symbolic link to a named pipe

Let's say some application exposes a named pipe with the name "Pipe1". If I want to express the named pipe as a file path that can be used for writing or reading, the path \\.\pipe\Pipe1 or \\?\pipe\...
0
votes
0answers
579 views

How Can I Create A Symlink That Points To A Folder On A Remote Server

I have Google Drive set up on Linux using the GNOME Online Accounts system. As such, my Google Drive is recognized by Nautilus as a remote file server, instead of a folder in the home directory as ...
0
votes
1answer
65 views

Copying Cygwin symlinks through Windows Explorer won't make them working

Given two paths with the same content: D:\dir1\file1 D:\dir1\symlink1-to-file1 D:\dir2\file1 D:\dir2\symlink1-to-file1 If I create D:\dir2\symlink1-to-file1 by windows-copying it from D:\dir1\...