Tagged Questions

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)

0
votes
1answer
19 views

Restore a file overwritten with ln -nfs?

I accidentially "deleted" a file by doing this: ln -nfs /path/to/file In my understanding the data itsself should still be there. I also stopped working on the machine as I did this shit... Is it ...
0
votes
0answers
18 views

permission differences from mac finder vs terminal ssh

I am hoping that some of you Super Users can help me. I am working in an unix environment. /g/typas/Manuel>uname -a Linux submaster 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 ...
0
votes
0answers
19 views

Handling symbolic links in c include path

I'm compiling some software that uses the socket.h library. Make fails with this: In file included from /usr/include/sys/socket.h:38:0, from com/etsy/net/UnixDomainSocket.c:9: ...
3
votes
1answer
61 views

Fun with symbolic links and `notepad.exe` (replacing default notepad application in Windows 7)

I'd like to change my default notepad program from notepad2 to notepad++ (but my question is more complicated than just that so please don't stop reading!) When making the change from notepad to ...
0
votes
0answers
4 views

Do “child object” ACL changes through Explorer traverse junctions/symlinks?

Does the option to.. "Replace all child object permission entries with inheritable permission entries from this object" ..traverse through symbolic links and junctions? I'm trying to debug ...
0
votes
0answers
18 views

Can't get symbolic link creation permissions to work under windows

I am trying to grant my user the privileges to create symbolic links. I ran secpol.msc and navigated to Local policies -> User rights assignment -> Create symbolic links. I have added my user's ...
0
votes
2answers
30 views

Create symlinks from files in new folder, but not folders

I would like to create symlinks from all files and files in the sub-folders in a new folder. So, it makes a new folder, and in this new folder it mirrors the actual folder structure from the source ...
0
votes
0answers
10 views

Can I create link that points to many folders [duplicate]

I'm under Windows 7, and I'd like to know if it's possible to create a virtual folder that points to many other folders, effectively listing all their contents as if being in a single directory. ...
0
votes
2answers
28 views

Invisible file with a specific real name - can't list it, delete it or create new file of that name

I seem to have an 'invisible' folder that I can't see or delete, but is blocking a 'real' file from being created. I'm in a vagrant box (Ubuntu 14) I was trying to install ...
0
votes
0answers
14 views

Using Junctions (or directory link) to mirror profile for two different domains?

I have a weird setup at work. My computer is linked to two domains, one's the primary domain which I'm logged into 99.9% of the time. The other domain is primarily for SQL Server management (and ...
0
votes
1answer
37 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 ...
0
votes
1answer
42 views

moving symlinks to another drive

i have a list of symlinks to commonly used files by me in a directory located on my flash drive h:\ referencing to files in c:\ drive i want to move the contents of my h:\ drive into c:\, and when i ...
0
votes
0answers
20 views

Replace Symlinks with Real File in Windows

So I recently began using Kickstrap for a new project, and I've discovered that while Kickstrap successfully compiles and puts all the files in the right place, any files that end up identical are ...
0
votes
1answer
104 views

apache 2.4 permissions issues (forbidden)

This is driving me nuts! Just installed Ubuntu 14.04 with Apache 2.4.7. I've found a ton of posts on this issue but nothing seems to work. I do have ACLs enabled, but neither -b (removing entry) or ...
0
votes
0answers
14 views

Create Windows-compatable symbolic links in Ubuntu

I am using a SSD which is running out of space. Like 300 kB remaining. I need a symbolic link from the Program Files folders(32 bit and 64 bit) on the C drive to the E drive. Unfortunatly, the mklink ...
0
votes
1answer
67 views

unable to execute: Too many levels of symbolic links

By mistake, I executed these commands : sudo ln -sf bash /bin/sh sudo ln -sf bash /bin/bash When I rebooted the Linux server in recovery mode I got this message: init : Failed to spawn ...
0
votes
1answer
100 views

Homebrew install gdb, symlink error with binutils

I'm trying to install GDB via Homebrew on OSX Mavericks via the command brew install homebrew/dupes/gdb. This error message pops up during install: gdb requires special privileges to access Mach ...
0
votes
1answer
48 views

VIM Crashes/Freezes on specific files Mac OSX Mavericks

I've recently switched over to using VIM and use a friends .vimrc that works well for him https://github.com/dtothefp/dotfilesv2/blob/master/vim/vimrc.symlink I first installed vim through Homebrew ...
0
votes
1answer
13 views

Why isn't apache following my symbolic links?

I need to link to a directory from /var/www/html to a directory within the home directory of a non-su user. The operating is CENTos, the server is apache. The config file for the directory is ...
1
vote
1answer
24 views

How to delete broken symbolic links

I have a case where a lot of symbolic links remain after the original file was deleted. It was the result after leaving a Jenkins installation saving all build logs until the number of available ...
1
vote
1answer
36 views

What does Windows Backup do with symlinks?

I'd like to use Windows Backup to backup my Documents folder, but I have very large datasets which I have several symlinks to in my Documents folder. These datasets are backed up elsewhere, so I don't ...
1
vote
1answer
25 views

Can symbolic links be used for website URLs?

I'm developing a new website to replace our old website. The URL the dev site is 11.22.33.44/~abc/ (not that IP exactly) because that's what Host Gator gave me to use. Once complete, I'll change DNS ...
0
votes
1answer
20 views

Linux - make install without replacing symlinks

I recently (and foolishly, since there is a simple solution here, had I set --prefix= option to something other than it's default /usr/bin) configured and maked gcc-4.9.1, without setting the ...
0
votes
2answers
21 views

Share configuration files between two users

I have a program which will be used by two users. It saves it data in $HOME. Is it possible to share the config files (or only one of them - the database) between two users? My idea was a symlink. ...
-1
votes
1answer
19 views

Workaround to create a “link” to a relative path

I've got a zip file in which is presente a folder containing another subfolder containing the executable. I would like to create a link to the executable but links take only absolute path.. So I ...
0
votes
3answers
46 views

Linux Bash — how to know which directory I really am in with symlinks?

suppose I have a symlink chain A -> B -> C when I type pwd, it could show me in A, B, or C depending how I get here. How do I show the physical directory address, i.e. not represented by any ...
0
votes
0answers
29 views

Which direction should symlinks for Dropbox go?

I've been using Dropbox to keep files such as .bashrc and .inputrc in sync between multiple computers. The way I have been doing this was to have the files located in the dropbox folder and then ...
0
votes
0answers
33 views

Is there a way to copy Userprofiles with Robocopy and keeping the junctions symlinks?

In the Internet you read a lot of Tips how to copy your userprofile with robocopy safely from Recoveryconsole. The usually recomend robocopy source target /xj..... The problem with the /xj switch ...
0
votes
0answers
51 views

brew link error - installing freetype for Circos

I am wanting to use Circos and have been following a tutorial on how to do the initial setup. (http://kylase.github.io/CircosAPI/os-x-installation-guide/) I went to use: $brew install freetype and ...
1
vote
1answer
25 views

Persistent mapping of folders per Windows user?

We have a legacy application that lives in C:\APP, which is hard coded to look only in that directory for its config. The current setup is that there's a central server which is essentially a ...
0
votes
0answers
23 views

How to prevent an app from removing symbolic linked files (Windows 7)

I have a folder z:\data on a network drive.. I have a local folder c:\work where the following symbolic link exists (created using mklink) c:\work\letter.tex => z:\data\letter.tex When I open ...
0
votes
0answers
18 views

Locate all references to a certain hard disk

Every time I got a new machine or increased the memory capacity I used to add and add more and more hard disks to the latest machine. Now I have several disks of old data (e.g windows installation, ...
1
vote
0answers
52 views

Add external volume app folder to Launchpad

I have a primary volume and secondary volume which I store apps on in a folder called HDD Applications. Launchpad only looks at the /Applications folder on the primary drive for apps. How can I get ...
0
votes
2answers
59 views

Broke most Linux computer functions with bad symlink

I'm using 64-bit Crunchbang, which is Debian-based. I was trying to fix a certain problem with libc6, and naively followed the advice of an askUbuntu answer (link) that made me run the following ...
0
votes
1answer
350 views

Apache allow access to symlink

Please help me figure this out, I'm out of options what to even google. No idea why this apache configuration is not working as I expected. <VirtualHost *:80> DocumentRoot ...
0
votes
1answer
31 views

Symlink two real directories with files in both

I have two directories, with files in both of them: ./read/pub/ |- file1 and ./write/pub/ |- dir1/ |- file2 |- file3 I need to create a symlink so that all the ...
1
vote
1answer
53 views

Trouble creating real NTFS links using Cygwin

I have administrator privileges and would like Cygwin's ln -s to make NTFS links instead of the fake !<symlink> files that only Cygwin understands. I tried the following, based on Cygwin ...
0
votes
1answer
27 views

Is there a way to catch all invokations of hardlink creation and replace them with symbolic links?

Assume I have a program or build script (consider it a blackbox) which is creating hardlinks and run on Linux (Debian 7.4). If I want to experiment and find out whether the program would work with ...
1
vote
2answers
125 views

Apache won't follow symlinks even with permissions set

I can't get apache to follow symlinks outside the web root directory, even though permissions look OK and FollowSymLinks is on. The details are below. I have two world-readable text files: /tmp/hello ...
0
votes
0answers
38 views

Windows Symlink & Copy

I am trying so desperately hard to map a drive to sharepoint online with little success. (I have tried everything possible to get this working.) Closest I have got is being able to make a shortcut to ...
0
votes
0answers
13 views

grant create-symbolic-links on win7hp (which doesn't have gpedit.msc)?

I want to be able to symlink target directories for all the usual reasons, on win7hp, for which gpedit.msc is apparently not available at all now. Best hits I can find are Permission to make symbolic ...
0
votes
0answers
56 views

Creating Windows-compatible symbolic links from a Mac

I have a Windows Server 2012 where I would like to create symbolic links that work for both Mac (10.9) and Windows (7) users. I have a dummy text file called org.txt containing "Hello, World!". ...
1
vote
1answer
40 views

Link a folder to another folder without using space

I want to link one folder from a part of the drive to another folder that syncs it with Box, retaining the original copy and without using any additional space. Shortcut files don't work, so I am ...
1
vote
1answer
35 views

realpath (GNU coreutils 8.22) does resolve “.” symlink regardless of “-s”

I'm trying to use realpath in a script which has to ensure that it is located under a certain (possibly symlinked) path. Also the script has to be runnable from any location, so it cannot presume that ...
0
votes
0answers
187 views

mklink /j vs mklink /d on multiple machines and with file shares

I'm starting to use cloud sharing solutions (e.g., Dropbox, SpiderOak) to backup and sync files between various machines I use. When doing this I've decided to place all my backups under a given ...
1
vote
0answers
21 views

ESXi and ghettoVCM - rotate weekly backups to (2) different drives

I am using ghettoVCB to perform VM snapshot backups on an ESXi server. ghettoVCB has a config file that stores parameters for performing the backup. One of the parameters is the destination path, ...
2
votes
1answer
118 views

Starting programs from terminal then exiting terminal exits started programs?

I really was unsure how to phrase the question title. What I mean is that when I use the terminal to start a program, most of the time when the terminal is closed it also exits the programs started ...
2
votes
1answer
36 views

Can I create a “symlink-esque” file to “merge” two files together?

I'm dealing with an application that reads a config file, config.yml, from the current directory. This config file contains both secret information (API keys) that shouldn't be checked in to source ...
0
votes
0answers
14 views

Limit SymLink level scanning to just 1 when copying files on Windows

Consider the following directory structure: D:\RealFolder1 D:\RealFolder1\RealFolder1A D:\RealFolder1\RealFolder1A\SymLinkToRealFolder2 D:\RealFolder2 D:\RealFolder3 ...
0
votes
0answers
28 views

Symbolic link types [duplicate]

What are the differences between different types of symbolic link in Windows? The Microsoft website tells me; /d Creates a directory symbolic link. By default, mklink creates a file symbolic link. ...