Symbolic link or symlink is a special type of file that contains a reference to another file or directory as an absolute or relative path. For most operations, symbolic links are transparent and the read or write operations on symbolic link files are redirected to actual files i.e the files that ...

learn more… | top users | synonyms (1)

12
votes
2answers
690 views

What is the Ubuntu equivalent of OSX `chmod -h` flag?

In OSX I can set the permissions of the symlink itself (instead of the thing it points to using the -h). From the man page: -h If the file is a symbolic link, change the mode of the link itself ...
0
votes
1answer
8 views

Which root paths (e.g., /lib) can never be symlinks?

VBox suggests an extremely inadequate default size for its root partition, so I had to create and mount a more realistic /dev/sdb1 to do anything useful. Despite that, / (/dev/sda1) is 96% full, and ...
-1
votes
0answers
16 views

creating symbolic link and define it into .bashrc

sudo su I have a directory (GAMIT) which includes source codes for compiling the software. GAMIT path: /home/sorbilene I created symbolic link from GAMIT directory to "gg" like that, ln -s -f ...
0
votes
1answer
20 views

How to execute a program from symlink [duplicate]

I have the following go program that runs with: ./hack/go/bin/wego How can I create a symlink to run this program with the command weather?
0
votes
0answers
16 views

creating symbolic link and get its place

creating link from GAMIT directory to gg; ln -s -f /home/sorbilene/GAMIT ~/gg then gg directory (involves all files of GAMIT directory) was created in /home/sorbilene. I tried to get the same place ...
1
vote
2answers
36 views

creating symbolic link and setting environment variables

I've compiled Gamit/Globk software from the source codes. The installation directory's path "/home/sorbilene/GAMIT". I need to create links and set environment variables to run the software without ...
2
votes
1answer
32 views

How to use a symlink in Apache Web Server

I Installed Apache2. In the the folder "var/www/html" I created a symlink to a different HDD that holds a number of movie files. My thinking is that it would be easy to access the movies through a ...
0
votes
0answers
12 views

(Xubuntu) Symlinked wine doesn't open .exe?

I'm new to the site, and I've just created the account. Wine and I are having an issue right now. I'm booting Xubuntu from a Live USB and, therefore, have placed the .wine folder in another drive, ...
2
votes
1answer
71 views

how to create a symbolic link that works relative to the working directory

consider the following : x/ ph/ file1.txt -> ./../file1.txt file1.txt y/ ph/ -> /x/ph/ (this is full absolute path of x/ph) file1.txt /y/ph is a symlink for ph folder ...
1
vote
2answers
136 views

Share a folder between host and ubuntu lxc container

How can I share a folder between the host system (ubuntu 14.04) and an ubuntu lxc container? I tried mounting the folder on the host: sudo mount --bind /media/data/share ...
0
votes
1answer
47 views

Is it really possible to properly create a bootable USB of Ubuntu from Windows?

I was trying to create a bootable USB of Ubuntu from Ubuntu when some symbolic links errors appeared, which I explained in this question. There was no valid answer what these errors are, nor are they ...
0
votes
0answers
10 views

Symbolic link to Windows partition breaks at restart [duplicate]

I have a dual boot between Windows 8.1 and Ubuntu 14.04LTS. I can access my Windows partition from Nautilus as if it were a device, so I can make a sym links in my Ubuntu environment that point to ...
0
votes
2answers
25 views

Creating a symlink from one folder to another with different names?

I have to folders, one of which is my webserver root. I want to link it to my project folder so that I can keep things up-to-date with Git. If I try to do this: ln -s /home/user/project ...
0
votes
0answers
22 views

Symbolic link that leads to one directory when writing, but another when reading

For my specific case, I am running a minecraft server on a SSD. I want to store one set of game files on the SSD so I can have a fast load time, but auto-backup to my HDD so I don't wear out the SSD ...
2
votes
1answer
45 views

How can I set a symlink from /tmp/mysql.sock?

I've tried to set a symlink from /tmp/mysql.sock -> /var/run/mysqld/mysqld.sock however whenever I try to do it using the following command: sudo ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock ...
0
votes
1answer
45 views

“Trick” AeroFS to synchronize outside AeroFS folder without symbolic links

I am trying to have a backup copy of my laptop files using AeroFS. AeroFS creates a folder in your home directory (similar to Dropbox) and syncs anything inside of it. I would like to sync folders ...
4
votes
1answer
57 views

Does Windows recognize symlinks created under Ubuntu?

Before, I dual installed Ubuntu 12.04 and Windows 7. They shared a Windows ntfs partition by mounting the partition under Ubuntu. I don't remember if the symlinks created under Ubuntu could be ...
1
vote
1answer
20 views

How can I link two directories so that edits in one directory are reflected in the other directory?

I have a website,Foo, running on Apache. Foo's files are in the /var/www directory /var/www/foo Recently, I switched to developing with WebStorm. My webstorm directory is WebStorm_Projects/. I ...
0
votes
0answers
18 views

Is there a way to mount a windows share as a Symbolic link using Ubuntu 14.04

Is there a way to mount a windows share as symbolic link so that a mounted drive does not appear on the sidebar under network using Ubuntu 14.04.
0
votes
1answer
58 views

is sh a symbolic link to bash? [duplicate]

I am new to Ubuntu. I want to know if sh is a symbolic link to bash. Similarly, if "/usr/bin/awk" is a symbolic link to gawk and if "/usr/bin/yacc" is a symbolic link to bison or a small script that ...
0
votes
0answers
34 views

Installing Python Module with Boost

I am trying to install a computer vision program via python setup.py install but it returns /usr/bin/ld: cannot find -lboost_python-mt-py26 Now I run the following command dpkg -l ...
1
vote
1answer
17 views

Building a Python Module Problem

I am having the following issue and am not sure how to fix. I do not know what linking is but I hear it's related to the problem. I'm trying to set up a python module: First I call in the directory ...
0
votes
0answers
11 views

Best way to execute script from another linux user on the same system

I've set a script to be running on subdomain.domain.com mostly for security by isolation reasons. I need to include some output of it at domain.com. The thing is it uses ajax and hence cross-domain ...
0
votes
1answer
23 views

SymLink for “/home/martin” in another disk of same machine

I'm looking for a solution for the problem like below. What ever file or DIR that i put in /home/martin DIR, should land in /home-extended/martin DIR. Reason behind this, is /home DIR has only 2 GB ...
0
votes
0answers
58 views

Running Quake with Darkplaces from symlink, id1 folder not recognized

I'm new to Linux (have only been using it for a few days) and am using Ubuntu 14.04. I've been a Windows user my whole life, so there are a lot of things I'm getting used to. One example: symlinks. ...
0
votes
0answers
29 views

how to run “acpype” program?

If I want to open this program, I am giving "acpype" in the terminal and getting the following error: sslab1@sslab1-ThinkCentre-Edge72:~$ acpype bash: /usr/local/bin/acpype: Permission denied What ...
1
vote
1answer
52 views

Link to NTFS partition broken after reboot [duplicate]

I've created a link to a folder located on a NTFS partition, in the same HDD where Ubuntu is installed. After rebooting, the link says it's broken (the link shows a lock icon to the lower right and ...
0
votes
3answers
85 views

Shortcut to execute shell scipt? [duplicate]

I'm trying to create a shortcut that will run a .sh file deep in some directory without having to navigating to the absolute path. I have tried using aliases, which did not work as. Using soft/hard ...
0
votes
1answer
59 views

How to install ACPYPE and fix the error in Ubuntu 14.04?

I wanted to install acpype in ubuntu 14.04 and I followed the comments given in ubuntu program installation guide: I have followed the following commands. acpype go to the directory in which you ...
1
vote
0answers
95 views

Symlinks: Can't create one because file exists, cant remove it because there is no such file

I posted this already on stackoverflow and it was suggested I ask here... I am running ubuntu 14.04 in vagrant on a windows 7 pc. I am running VirtualBox and git bash as administrator. I've created ...
0
votes
1answer
55 views

Link to Windows desktop gets broken [duplicate]

I mount C:/, and I create a link from my Ubuntu desktop to Windows desktop. However, when I restart the computer, mount C again, and double click on the link, I get the error message This link cannot ...
4
votes
4answers
308 views

How can I find the difference between a folder and a folder link in Ubuntu?

Earlier, I had created some links to another folder using the following command. sudo ln -s path_name link_name These links are looking similar to the folders. I am not able to differentiate ...
0
votes
0answers
17 views

Creating Mediawiki issue

Im right right now in the middle of creating Mediawiki on Ubuntu 12.04.4 LTS for client and i'm having some troubles doing that. I managed to establish accessible Mediawiki instance in apache but i ...
0
votes
0answers
147 views

Start MATLAB R2014b by clicking icon in Kubuntu 14.10

After installation of Matlab 2014b on Kubuntu, I've created symbolic link to matlab.sh. And now when I start it in Konsole by matlab or ./matlab it works fine. But if I launch it by clicking on file ...
-1
votes
1answer
79 views

How to link to php from xampp installation so i can just use php command instead of full path?

I have xubuntu installation and xampp installed on my pc, and everything works great, but lately i am experimenting a little bit with laravel framework and a lot of tutorials and people just use php ...
0
votes
0answers
20 views

Make mplayer2 use libass5 instead of libass4 via symlink

Can I make a symlink to libass5 to make mplayer2 use it instead of libass4 (which is currently depending on)? If yes, then How? And will I use symlink to replace the entire directory of libass4 or ...
2
votes
1answer
128 views

Why can't I follow symlinks when I use the file system gui, but in terminal everything works fine?

I've decided to go with the dedicated home/data partition way of doing things for my first multiboot configuration, and for that reason have a bunch of symlinks linking to where I've mounted that ...
2
votes
1answer
94 views

Behaviour of symlinks

I successfully and not successfully created a symlink: I have two directories ~/foo and ~/bar Now I have a file called baz.txt in this path ~/foo. My aim was to create a symlink in ~/bar so I ...
2
votes
2answers
1k views

force cp to copy on dangling symlinks

Is there any way to force cp (Bash 4.2.5, Ubuntu 12.04) to copy onto a dangling symlink? cp a-file path/to/danling/symlink/a-file cp: not writing through dangling symlink ...
0
votes
0answers
140 views

Libreoffice writer: hyperlink to another document does not work

I have some files (*.doc, msword 2003) with hyperlinks for crossreference. Those files open on libreoffice, but only local targets (within the same file) work. I've tried to remove and recreate ...
1
vote
1answer
37 views

How to create link that can be followed in SFTP?

SFTP jails the user into his home dir. Let's say I have two users. What if I'd like to share files and folders between them both?! Is there a way? Is it possible through links? I tried out with ...
0
votes
1answer
39 views

removing shortcut created during deb installer, at uninstall

In the deb package, I have created a desktop shortcut to the application blah.postinst: #!/bin/sh cp /usr/share/applications/blah.desktop ~/Desktop/ chmod 777 ~/Desktop/blah.desktop using dpkg -r ...
0
votes
0answers
36 views

Help creating a simple DEB installer

Installing my app is a relatively simple process, I just need to copy a few files onto the target machine. I've got a simple DEBIAN/control file, and the files I need to copy in the right ...
0
votes
0answers
55 views

Racket installation: What should be the ideal response to this installation question

I am trying to install racket on my Ubuntu 14.04. Downloaded the .sh file from http://racket-lang.org/download/. Ran sudo install into a desired folder(eg. ~/Documents/racket/). Entered ...
1
vote
1answer
50 views

Creating the $LFS tools Directory

i am working on LFS, and getting this error creating symbolic links. i checked this link but no help, also googled but nothing works. # ln -sv $LFS/tools / ‘/tools’ -> ‘/mnt/lfs/tools’ in root ...
0
votes
0answers
56 views

Nautilus shows different permissions (than `ls`) for linked directory

I'm using Ubuntu 12.04 and i have changed one of my folders permission . when i do ls -al in that directory it shows me : total 48 drwxr-xr-x 6 root root 4096 Nov 3 05:14 . drwxr-xr-x 30 root ...
7
votes
2answers
11k views

What is a “failed to create a symbolic link: file exists” error?

I'm trying to create a symlink in my home directory to a directories and files on my data partition. I've tried: ~/Documents$ ln -sv ~/Documents/saga ...
1
vote
1answer
73 views

Automatically create links symbolic links between directories, creating one uber directory

I have one directory, folder1, that I have shared via samba. I have another directory, folder2, that is not shared, but contains a lot of subfolders that I do want to share. When a user connects to ...
0
votes
1answer
23 views

What's a good pattern to use to create desktop shortcuts pointing within network shares?

I have a samba share set to mount in /media/foo when I boot, and on my desktop I have some symlinks pointing to locations within this share. If my network flakes out, the symlinks report as broken, ...
0
votes
0answers
106 views

join linux home folders with Active Directory userprofiles

I have just set up a network using Samba and Kerberos. As we wanted users to be free to decide whether they wanted to use windows or linux, we currently store userprofiles (windows) and home folders ...