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)

1
vote
1answer
715 views

Symlink path can be followed manually, but `cd` returns Permission denied

I am trying to access the directory /usr/software/test/agnostic. There are several symlinks involved in this path. As you can see by the below transcript, I am unable to cd directly to the path, but I ...
1
vote
1answer
3k views

Unix Copy (cp) without Symbolic Links

I want to copy my files but convert the symbolic links to hard links (ie. the actual file). How can I do this? Here's my code (that isn't working): cp -RL ${FROM_DIR} ${TO_DIR} Note: this is for ...
1
vote
1answer
4k views

Samba Linux shares — Why won't windows machines display/follow symbolic links?

I set up a generally working samba server on a Linux machine like this: useradd -g users netshareuser passwd netshareuser smbpasswd -a netshareuser (passwords are the same) mkdir /net/share ...
1
vote
2answers
474 views

Shared home folders between operating systems

After my hard drive calved yet again in my MacBook Pro, I decided to re-do my dual booting. My goal is to triple boot, with OSX 10.6.8 (installed), Windows 7 Home Premium and a flavour of Linux ...
1
vote
2answers
2k views

can i create a symlink from an ec2 disk to S3 bucket?

Is it possible to create a symlink from a file on the local disk of a windows machine in ec2 so that it is actually stored in an S3 bucket? MSMQ wants to write our queue to a local disk and this ...
1
vote
1answer
2k views

Symlink all files in a Folder to a new Folder

Ideally what I am seeking is a way to rename all my anime keeping original files intact without using extra data space The solution I can think of is creating a duplicate folder path to another ...
1
vote
2answers
329 views

Utility for creating symlink to directory tree

I remember that there is an utility for GNU/Linux, that given some directory, builds the same directory hierarchy, but with all regular files replaced by symlinks to the corresponding ones. I can't ...
1
vote
2answers
241 views

Sym-linking windows with linux

Is it possible to make a sym-link in linux that can be used by windows? I have a dual boot system of Ubuntu 10.10 and Windows 7 and I want to move my AppData folder to another drive. I was planning on ...
1
vote
1answer
2k views

MacOS: How to “cd” into a symlink?

I have a folder "abc". I create a symlink: ln -s abc abclink. but then, whan I type, cd abclink it says "No such file or directory". I can see the link, it has "lrwxr-xr-x" permissions, why doesn't ...
1
vote
2answers
2k views

How can I create a symlink which points to another symlink?

Is there any way to create a symbolic link which points to another symbolic link? I have link A (pointing to address1 = /home/data/username/var) in /home/data directory and I need to create link B ...
1
vote
1answer
203 views

Is there a fast method of changing directory to a symbolic links parent or source?

Say I have folder stucture: |- dir1/ | |- sub1/ | |- dir2/ |- sub1link -> /dir1/sub1/ and my current working directory is sub1link, is there a quick way to either: change directory to ...
1
vote
2answers
1k views

Change many symbolic links at once?

I have about 40 symbolic links in a directory that look like this: lrwxr-xr-x 1 anna staff 45B 22 Jun 11:20 menu-bg-left.jpg -> ../../../../../hg/www/images/menu-bg-left.jpg lrwxr-xr-x ...
1
vote
1answer
2k views

mac os x, find all symbolic links that point to files on a different volume

In my ~ dir, I have some symlinks that point to "/Volumes/Macintosh HD 2/..." and I want to find them all recursively. A look at the man page for 'find' says the '-lname' argument will search the ...
1
vote
1answer
7k views

Ubuntu make symbolic link between new folder in Home to existing folder

To the point. I have Ubuntu Maverick running on my Lenovo G450. Before, it was Windows 7. All my data are inside another partition, its NTFS. FSTAB line to mount that partition : /dev/sda5 /data ...
1
vote
2answers
1k views

Linux $PATH variables, soft links, and Command Not Found

I am having problems with symbolic links and the $PATH variable. I have a directory: # /usr/rulerX/square where /usr/rulerX/square is a symbolic link such that: # ls -la square --> ...
1
vote
1answer
898 views

Ubuntu symbolic link the content of a folder

I have two folders such as nonserved/ folder1/ folder2/ and a served folder via Apache media/ js/ css/ img/ In the end, I want to include/append contents of /nonserved to ...
1
vote
1answer
2k views

symlink and sudo executable

If I have the below sudoers entry usera ALL=(userb) NOPASSWD: /home/userc/bin/executable-file usera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-file When I log-on as usera and ...
1
vote
1answer
3k views

How to link a directory in Ubuntu to a directory in Windows 7?

I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the ...
1
vote
2answers
423 views

Symlinks are inaccessible by their full path on OS X

I have symlinks pointing to applications placed in /usr/local/bin which is in the path. However, I can't run these applications from other folders. Even more weird, I can't access them by the full ...
1
vote
2answers
357 views

vifm: creating symbolic links

How does one create a symbolic link in vifm? The documentation and help file mention no word of it.
1
vote
2answers
223 views

rm -rf problem on ubuntu 9.04

Ok this is a sort of solved problem, however i am still interested in what was behind it.. I have been building chromium from source for a while now, and decided to get rid of the src directroy and ...
1
vote
2answers
1k views

Linked Files and Folders in OSX from Finder? [duplicate]

Possible Duplicate: Create a symbolic link in the Mac OS X Finder I use ln -s original new to make linked directories in OSX, but there must be a way using my mouse... no?
1
vote
1answer
76 views

Backup remote Linux from Windows. Recognize symbolic links

I'm trying to backup a Linux Server from a Windows 7 Laptop. The Problem I'm facing is that backup solutions for Windows do not recognize Linux symbolic links. The backup clients just follow the ...
1
vote
1answer
957 views

Time Machine backup to Google Drive folder? [closed]

My university uses Google Apps. With Google recently unveiling higher education customers will receive unlimited drive space, I want to take advantage of this to automatically backup my Mac. The ...
1
vote
1answer
34 views

Go to directory of symlink file target

How can I create a command (or alias) to go to the directory which contains the target file of a symlink. For example, if I have a symlink symFile@ -> /Users/zhermes/some/dir/someFile I'd like ...
1
vote
1answer
21 views

Duplicate filename with _0001, but zero file size

I have, somehow, created many duplicates of some files, they end in _0001.php for example. I might have done this while trying to crete symbolic links. The sym links work, but I now have these files. ...
1
vote
1answer
76 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
59 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 ...
1
vote
1answer
46 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
2answers
1k views

Using CIFS to mount a Windows share that symlinks another Windows share

I have a Windows Server 2008 VM that hosts some files that are accessed by a mixture of Windows and Linux (Ubuntu 12.04) machines via a windows share. Due to space constraints on the VM host that the ...
1
vote
1answer
67 views

SymLink only works in the same directory

user@laptop ~ $ sudo ln -s ~/Games/JA/openjk.i386 ~/Desktop/JA user@laptop ~ $ readlink -f ~/Desktop/JA /home/user/Games/JA/openjk.i386 As you can see, the symlink points to the file, but when I try ...
1
vote
1answer
455 views

Have Yum Update vmlinuz, initramfs Symlinks In /boot Automatically (Fedora)

Whenever Yum updates the kernel, there's a new set of (vmlinuz* initramfs*) files in /boot and the Grub config is updated to directly point to those new files. Where is the setting that will force ...
1
vote
1answer
96 views

Symlink to a directory including the trailing slash and without

Is there any noticeable difference between symlinking to a directory including the trailing slash and doing it without, i.e. the difference in doing ln -s somedir/ dir vs. ln -s somedir dir whereby ...
1
vote
1answer
46 views

Cross platform softlinks?

I am using a scientific software that require softlinks to work with reasonable efficiency. However, I'd also like to sync my data, that must contain bare data from that software (i.e. not packaged ...
1
vote
1answer
933 views

Creating an 'alias' or 'symlink' to a separate folder in apache

-/ |--bin |--home |--user_1 |--somefile.html |--somefile2.html |--user_2 |--differentFile.html |--var |--www |--file1.html i want the urls to be ...
1
vote
1answer
450 views

What factors might prevent this symlink from working as intended?

I'm on a Windows 7 64-bit machine, and I've been trying to get a symlink set up to some rather hefty files so that I don't need to use twice the memory (two different applications need to access these ...
1
vote
1answer
373 views

Apache: How to link or mount local directory to a remote one on Internet?

I have apache2 web server installed on Ubuntu Server which provides the service at 192.168.122.108:80. Also, I've been created a directory named ubuntu on apache's root directory. Now, the idea is to ...
1
vote
1answer
761 views

Httpd error: not accessible symlink with -D FOREGROUND

I'm trying to setup virtual host in Fedora18. Configuration is following: httpd version is 2.4 user/group - apache/apache global document root is /var/www/html vhost symlink: ...
1
vote
3answers
2k views

How can I store encfs6.xml in another location (and still make it detectable)?

How can I make encfs4win search for the encfs6 file in another location? I tried modifying the encfs_mount.cmd file at the end, like so: set ENCFS6_CONFIG=c:/test1/.encfs6.xml %pathtoencfs%encfs ...
1
vote
1answer
137 views

Copy folder and all subfolders but NOT symlinks

I need to copy a folder and all of its subfolders but I don't want any of the symlinks or their contents to come with it. Can this be done simply? Or - obviously - can I easily disconnect and remove ...
1
vote
1answer
195 views

Is there a way to create a virtual drive in Ubuntu that contains multiple NTFS partitioned drives?

I have a dual boot set up (win 8/ubuntu 12.04) and in Ubuntu all 5 of my windows drives show up individually on the Unity launcher. It takes up a lot of space but I like being able to link directly to ...
1
vote
1answer
103 views

Determining if a program is “actually using” a junction

I successfully (?) set up a junction link between the cache folder used by Iron browser to point to another folder on a ram drive, yet when I view the contents and size of both folders they are ...
1
vote
1answer
113 views

symbolic link issue in windows

I'trying to make a symbolic link for dropbox folder which will refer to music directory, so the command I entered was the following: mklink \D d:\User\Dropbox d:\User\My Music. When I tried to enter ...
1
vote
1answer
505 views

How can I create persistent symlinks to my other drive?

When I create soft links within my /home folder to my other hdd (sdb) they no longer work when I restart my system. Do I have to mount my hdd to say /mnt/sdb on boot?
1
vote
1answer
364 views

Use a symbolic link to create a new symbolic link

I have 2 directories (FOO, LALA). I create a symbolic link in one of them like this ln -s /etc/apache2 FOO/apache2 Afterwards I want to create another symlink, pointing to the same directory, but ...
1
vote
2answers
959 views

Virtual machine sharing setup with Windows host and *nix guest that allows symlinks?

I'm using VirtualBox (and have tried VMWare) on a Windows 7 host with an Ubuntu server guest. I've set up folder sharing in VirtualBox so that my Ubuntu server home dir is a mount of my Windows 7 home ...
1
vote
1answer
83 views

Is it possible to fork a symlink?

I have my configuration file (e.g. .zshrc) put into an encfs container. When I log into the system the container is not yet mounted, hence the the symlink is dangling then. Is there a way to let the ...
1
vote
3answers
101 views

Linux: Shared and mounted directories

Fairly-new to Linux and am trying to see if I can start getting a little clever. I have a server that contains files that I'd like to have "locally" accessible on other servers directly under the / ...
1
vote
1answer
89 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
1answer
33 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 ...