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,029
questions
1
vote
1
answer
109
views
Symbolic linking and shrinking available space
I symbolically linked two drives across a folder located in the program files folder of the C:\ directory. This folder is linked to a much larger/slower HDD. Windows is installed on a small SSD ...
1
vote
1
answer
43
views
linking private documents in public directory
On an OS X server, I have some documents in /Users/me/Documents/here/
Permissions to /Users/me/Documents is set to drwxrwxr--.
Permissions to /Users/me/Documents/here is set to drwxrwxr-x.
I want ...
1
vote
1
answer
624
views
Mac alias/symbolic link question
If I create a symbolic link or alias pointing to $HOME/Desktop and place it in a .dmg disk image, then distribute the dmg, will the link still point to the Desktop for the end user?
1
vote
1
answer
4k
views
TortoiseSVN ignore symlinks
I have a project on my Windows 7 machine that contains symlinks. When I try to commit the project to an SVN repository TortoiseSVN fails with "Symbolic links are not supported on this platform".
...
1
vote
1
answer
2k
views
Web shortcuts (.url) not working on Windows 7
I'm experiencing several symptoms, but I believe they are all related to web link files not working.
First, I can't create we link files anymore. When I try New > Shortcut and put an URL, I get the ...
1
vote
0
answers
60
views
Is it possible in Win10 to have a path which shows the content from multiple folders?
I have a program (call it App1) which read data from c:\ProgramData\ProgramCompanyName\App1\
I need to get the content of ProgramCompanyName on another disk, so I moved that folder to D:\App1\...
1
vote
0
answers
41
views
Symlink from folder in one users home to folder in a different users home
I have a collection of scripts that I'd like to make available to me across a variety of other user accounts that I use for running various gaming servers.
To do this I have previously used:
ln -s /...
1
vote
0
answers
116
views
Is there a way to place a symbolic link in Volumes on Mac that won't be deleted when the machine reboots?
I use Dropbox in a newspaper publishing environment.
While in the office I mount a share from my Synology NAS that shares my Dropbox content via CloudSync.
For a remote computer, I use the Mac Dropbox ...
1
vote
1
answer
43
views
Link folders in shared drive
I'm a kinda new sysadmin and a user asked if it would be possible to optimise this process:
He works on department A and creates documentation in this structure:
\server\department_a\projectx\...
1
vote
0
answers
42
views
Possible to make *some* symlinks behave like 'cd -P'?
In Linux, suppose you have a symlink at /foo/bar that points at directory /foo/baz.
Case 1: If you do cd /foo/bar, you'll be in /foo/bar/baz.
Case 2: If you do cd -P /foo/bar you'll be in /foo/baz. (...
1
vote
0
answers
24
views
How can I move a folder without encountering issues related to cyclic folders and excessive disk space consumption?
I'm using the following command to move a folder:
robocopy "C:\Users\TTHCMM" "D:\C_Drive\Users\TTHCMM" /E /MT:32 /NFL /NDL /NJH /NJS
However, I've noticed that this command can ...
1
vote
2
answers
525
views
LFS 11.2 on Ubuntu Server 22.04: chroot: failed to run command ‘/usr/bin/env’: No such file or directory
I have been following the LFS 11.2 guide and it has gone smoothly up until the chroot part. Although the symlinks have created properly i.e. relative to the LFS directory, the error is still ...
1
vote
0
answers
516
views
git won't recognize windows folder is a linux symlink - status shows link files as deleted and symlink target contents as untracked
I cloned a repo to a network drive on a linux machine, then opened the cloned repo on a windows machine. the repo has linux style symlinks in it, that windows interprets (correctly) as folders. the ...
1
vote
1
answer
427
views
Apache and PHP symlink behavior
I have debian installed with apache2 and php and symlinks are working. But not as I expect:
/a/b/config.json
/a/b/index.php
/a/b/api/api.php
/var/www/html/x/config.json
/var/www/html/x/index.php ->...
1
vote
0
answers
185
views
node.js app symlink relative path resolution
I have a node.js application that lays under /opt/myapp.
There is a folder called "plugins" (/opt/myapp/plugins).
In the plugins folder (oh wonder) are stored plugins that are loaded on ...
1
vote
1
answer
737
views
Shared partition to be symlinked by both Dual Boot OSs
TIL learned Windows support symlinks for quite a time now and I do want to upgrade my Ubuntu...
I'm thinking of making a partition for stuff like downloads and documents that I could symlink to my &...
1
vote
1
answer
2k
views
/usr/local/bin/com.docker.cli: broken symbolic link to /usr/bin/docker
I recently installed Docker Desktop on Manjaro.
Initially installed Docker Desktop didn't start so I followed the instructions from https://github.com/docker/desktop-linux/issues/51
Now Docker Desktop ...
1
vote
1
answer
117
views
I need to copy only symlinks from within multiple subfolders under a parent folder to another folder maintaining relative path information in symlinks
I use Ubuntu 20.04 and i have a lot of files under multiple subfolders under a parent folder. I need to copy only symlinks from within these subfolders to another folder maintaining the source folder ...
1
vote
0
answers
347
views
Symbolic link pointing to network path instead of a local path
I am trying to setup a way to have a network file path mount as if it's on my local drive in Windows.
ex: "\10.0.0.205\Files" shows up as "C:\Volumes\Files".
I have tried mklink in ...
1
vote
0
answers
212
views
Resolve symbolic link to local CSS file
I am viewing some webpages I have generated on my local computer. I have a file called "style.css" in each directly which is symbolically linked to a global CSS file (Windows 10 - I use the ...
1
vote
0
answers
918
views
Permission problems when accessing symlinks via sftp and scp on Windows Server 2019 with OpenSSH
I set up OpenSSH on a Windows Server 2019 machine and now I'm able to access the machine via ssh from my Windows 10 client.
Then I created a folder on the Windows Server which contains several ...
1
vote
1
answer
93
views
Linux Symlink difference
I have a Question.
what is difference between this symlinks,
the bottom symlinks is created with
cp -s
and about top files i dont know, I want know how they symlinked.
1
vote
0
answers
681
views
Getting ignoring symlink error in VSCode
I am new to the Golang and VSCode. In my code, I have golang repo having imports from other directories. So, there is a vendor directory of which I am creating a symbolic link in my repo. But all the ...
1
vote
0
answers
157
views
Symlink still points to old version of AppImage
I have a script that autoupdates some AppImage applications and then it creates/updates a symlink with the new application (as they have a hash in their filename when they integrate, the previous ...
1
vote
1
answer
57
views
Advice on migrating from a hard disk to SSD
I have a Toshiba P50 laptop that is still performing OK for me, despite being 7-years old. The only gripes I have are:
it is taking longer to boot (I have a lot of stuff installed)
the 1TB disk is ...
1
vote
1
answer
12k
views
Creating a mklink to a folder on Windows 10
I have an application that writes files, let's say, on folder C:\Users\AppData\FOLDER
I want to create a link so the files end up on D:\FOLDER.
Do I use soft sym link or junction
Why do I have the ...
1
vote
0
answers
18
views
rsync following symlink and deleting only the symlink upon completion
expected scenario
Essentially I want to use rsync as a tool to do automatic queued downloading.
Say we have the following directory structure on remote.
to_be_downloaded
├── symlink1
└── symlink2
...
1
vote
0
answers
69
views
MKLINK /D Symlink Weird Behavior Windows 10
I have a home file server running Windows 10 Pro.
On my server PC I have a folder:
F:\DATA\BACKUPS set up as a hidden share \\SERVER\BACKUPS$
I have a network folder called D:\Files shared as \\...
1
vote
0
answers
60
views
Dovecot 2.2 - can diffie-hellman params file be symlinked to pre-existing one?
I'm installing Dovecot 2.2 (limited to 2.2 in CentOS 8), on a VERY lightweight server (1GB RAM, 1 core). The problem I'm facing is that Dovecot insists on generating its own Diffie-Hellman parameters ...
1
vote
0
answers
23
views
Odd behavior for NTFS symlinks? Can use "TYPE" but not "MORE"
I've created a symlink to a file on an NTFS file system (Windows 7). If I use the more command to view the file, it doesn't display anything. If I use the type command, it works as expected.
Here's ...
1
vote
0
answers
34
views
Should I replace my applications' bundled Python directories with links to a single Python library? [closed]
Recently, I reinstalled Python on my Windows 10 PC, and after a minor issue (the installer didn't automatically add itself to my PATH for some reason, so I had to manually add it myself), I decided, ...
1
vote
0
answers
142
views
Encryption after Symlinks are made
I wanted to ask before I did something really stupid. So, here it goes...
.
Here's the components I will be referencing:
"LinuxOS" Partition (dedicated disk; no other partitions on the disk)
"...
1
vote
0
answers
163
views
Dropbox symlinks trouble
I have a few dozen symlinked folders, which recently stopped working. I tried to do what dropbox suggested: delete the symlinks and move the folders itself into dropbox. Unfortunately dropbox refuses ...
1
vote
0
answers
782
views
Symlink behavior with Dropbox on Windows
Does Dropbox still sync symlinked content on Windows? The documentation suggests it shouldn't, but I think it currently still does.
Documentation
Per this Dropbox Article, Dropbox no longer syncs ...
1
vote
0
answers
1k
views
Use hardlink to have one file in multiple locations (different drives)
I'd like to have one file at different drives on Windows. I tried using hard link
mklink /H I:\file.bib C:\file.bib
But I get the following message.
The system cannot move the file to a different ...
1
vote
0
answers
742
views
How to make qemu-kvm Guest OS read symbolic links from shared folder while connecting VPN through OpenVPN?
My qemu-kvm VMs are in Ubuntu 16.04 and QEMU emulator version is 2.5.0.
I want my VMs
to read/write from/into the shared folder (in which I created symbolic links from Host OS).
while the VMs ...
1
vote
0
answers
129
views
evince won't show PDF's not named like *.pdf
I can view a PDF file foo.pdf with evince.
But when I rename it to foo, evince instead complains,
Unable to open document "foo". Error opening file: Permission denied [Close]. (Of course the perms ...
1
vote
1
answer
1k
views
File Share directory on IIS Windows 10
I'm trying to set up just a simple directory on IIS, I used mklink -D on the command line to make a symlink called "fileshare" under wwwroot to a directory under my main user's Documents folder for ...
1
vote
0
answers
144
views
Symbolic links inside linked folder
I'm using symbolic link of one folder (A) to another folder so that the server program can load the things in folder A, this works well. But the problem I'm having is if I create symbolic links inside ...
1
vote
0
answers
810
views
Open-SSH in Windows 10: cannot copy files to junctions when ChrootDirectory is set in sshd_config
I want do use an Open SSH-Server in Windows 10 to allow users access by SFTP to certain folders, basically two Partitions called C:\ and D:\ on the system.
For that reaoson, I have created a ...
1
vote
1
answer
276
views
Is it possible to create a "virtual" symlink in Windows 10?
Let's say I've got this directory structure:
.
├── Documents
│ ├── Finance
│ ├── School
│ ├── Skyrim
│ ├── Work
└── Saved Games
├── Fallout
└── Minecraft
The folders Skyrim, Fallout, ...
1
vote
0
answers
29
views
Keeping application shortcuts from actually being stored on c:
All programs want that front row seat called the Desktop to put their shortcut or shortcuts on.
Some programs do ask if you want a shortcut created. Others don't.
So how can I create a symbolic ...
1
vote
0
answers
214
views
Why does symlink to VLC break but .bash_profile alias works?
problem
I can execute VLC from the command line using a .bash_profile alias but not using a sym link.
📝 VLC is located at /Applications/VLC.app/Contents/MacOS/VLC on my machine
sym link
I tried ...
1
vote
0
answers
2k
views
Cannot update Symbol Links - Permission Denied
There's a symbolic link on my Linux machine which I want to update and point it to another location however I get permission denied error even though I have rwx permissions for the symbolic link:
$ ...
1
vote
0
answers
410
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 ...
1
vote
3
answers
2k
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 ...
1
vote
0
answers
47
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. ...
1
vote
0
answers
1k
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 ...
1
vote
0
answers
42
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 ...
1
vote
1
answer
7k
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 ...