A special type of file that references an inexistent or existing file or directory. The contents of a symbolic link consist of an arbitrary string that is the path to the file that the symbolic link points to. When the symlink is encountered during pathname resolution, the string stored by the file ...

learn more… | top users | synonyms (1)

0
votes
1answer
123 views

Can rsync mirror a directory, without following symlinks linking outside the tree?

I want to mirror some home directories to a remote location, but don't want to follow links that point outside the tree. Links pointing with the directories themselves are okay. I also want the links ...
0
votes
1answer
111 views

Trouble creating symbolic link [closed]

I installed a software on OpenSUSE. However, to open it one has to type /usr/local/software/start_software everytime. I tried creating a symbolic link using sudo ln -s ...
0
votes
1answer
2k views

Always getting “not a symbolic link” message, while installing any package

When I am installing any package in my centos 6.0 system, by yum or rpm, I always getting /sbin/ldconfig: /usr/lib64/libreadXMLnew.so.1 is not a symbolic link message. There is never a problem in ...
0
votes
2answers
1k views

Hard links versus symbolic links: which one is faster / smaller? [duplicate]

Hard links Given a file original.txt, a hard link hardlink.txt will point to the same inode and continue to exist even when original.txt is deleted. Symbolic links Given a file original.txt, a ...
0
votes
1answer
164 views

How to prevent find -execdir from following symlinks?

Say I have a symlink: linktob -> b If I run something like find . -type l -execdir chmod 777 {} \;, the chmod command affects the file the symlink is pointing to, i.e. ‘b’. The man page suggests ...
0
votes
1answer
763 views

Opera, Firefox has no kiosk option like Chrome gives it openly?

While using Chrome kiosk mode, i have problem with openbox desktop, its not doing correct for some javascript rendering. So i wanted to test opera and firefox but both does not support kiosk at all ...
0
votes
1answer
389 views

Keeping multiple root directories in a single partition

I'm working out a partition scheme for a new install. I'd like to keep the root filesystem fairly small and static, so that I can use LVM snapshots to do backups without having to allocate a ton of ...
0
votes
0answers
11 views

How to create symlink USB to COM port

I need help to create the udev rule. I need my my USB printer to be located as COM1. lsusb ouput: ‍Bus 001 Device 005: ID 0fe6:811e Kontron (Industrial Computer Source / ICS Advent) Parallel ...
0
votes
0answers
38 views

How to create a symbolic link of all files in a directory using a shortened name obtained with using a piped cut on the filename

I have a directory full of libraries (*.so.0.*), and I want to use find to create a symbolic link to each file, named *.so.0. Here is a (non working) try: find $HOME/.local/lib64/ -name ...
0
votes
0answers
25 views

Symlink - what i need to know?

I have a Website with a CMS under the folder /var/www/html/mysite My admin made a symlink once, so when you request my URL, you will be redirected to the folder mysite. I have now created a copy ...
0
votes
1answer
31 views

How could I quickly find a recursive symbolic link? [duplicate]

I am experiencing an issue with a indexing program running much longer than expected. I want to rule out the possibility of a recursive symbolic link. How could I find a symbolic link that is ...
0
votes
0answers
11 views

Difference between symlimk and link? [duplicate]

What is the difference between a "symlink" and a "link".
0
votes
0answers
27 views

File and folder size using ls and du [duplicate]

I created a folder and copied a 992 byte jpg file in it. Then I created a hard and soft links for the file. The hard link is the same size of the file and the soft link is 8 bytes. Now when I checked ...
0
votes
0answers
96 views

Symlink not working for /opt folder

I am in the midst of installing Java on red hat machine. So I downloaded jre-1_5_0_10-linux-i586.rpm and copied it into /opt/local. Then I ran sh ./jre-1_5_0_10-linux-i586-rpm.bin and finally I ...
0
votes
1answer
29 views

get target file size by symlink on cifs share

in shared directory f:/dir on Win2008 absolute symlink created with mklink f:/dir/symlink2file f:/dir/file This share then mounted in Debian with mount -t cifs -o ...
0
votes
0answers
115 views

Can't see files in OwnCloud (Data Path set to existing directory)

I installed owncloud server on my Raspberry Pi (Jessie Lite) and got a problem seeing my files. I got three external HDDs I connected to my Raspberry. On boot I mount them to /mnt/ext1 / ext2 / ext3. ...
0
votes
0answers
34 views

Symlink files to mirrored directory tree

I'm attempting to symlink files to a mirrored directory tree. Both directories (source and desired destination of symlinks) are on separate mountpoints inside a FreeBSD jail. Source directory: ...
0
votes
0answers
82 views

How can I make symbolic link to a file in /home/user/.local/share to use with Alt+F2?

I apologize if this question is too elementary or if it has been asked previously. I did try to thoroughly search for it, but it is possible that I did not use the right keywords. I have zotero (a ...
0
votes
0answers
14 views

Symlink all directories under base - including new directories created. Ongoing Symlink

So i understand I could probably just use CRON to do this, because I can symlink directories under base using ln -s /base/* /target But just wondering if anybody knows a way to have this ...
0
votes
2answers
33 views

Is there a method to make Multipart or Virtual Files?

Is there a method of creating a symbolic file that refers to the contents of a directory? So for example, calling: cat all_keys would give the same output as: cat keys/key1+keys/key2+etc... I've ...
0
votes
0answers
78 views

Symbolic link not allowed or link target not accessible: /home

I cannot access http://localhost/~user. The error message is: Symbolic link not allowed or link target not accessible: /home I do not have a /home. In my case it's: /RAID/home/*/public_html I ...
0
votes
0answers
74 views

Deleting of whole symbolic link folder when rpm -e is ran

I am currently building an rpm for RHEL 6.6. The installation of the rpm goes great the the command rpm -Uvh foo.rpm. However I run into a problem when I do the rpm -e foo command. The problem is ...
0
votes
0answers
65 views

Linux capabilities for java to resolve symbolic links

I run a java program by a non-root user. The program has to resolve a symlink to the real file name, but the link is owned by a different non-root user. I used setcap to set capabilities to open ...
0
votes
0answers
12 views

Darwin acl_get_file vs acl_get_link_np

On Darwin, there are two related functions - acl_get_file, and acl_get_link_np, which both query ACL information for a file. The difference is that, a) acl_get_link_np won't follow symlinks and, b) ...
0
votes
1answer
24 views

Symlinked folder cannot be opened

Can someone explain this? ls displays the symlink $ ls -l .config/blender lrwxrwxrwx 1 rain rain 29 Aug 7 13:48 .config/blender -> SpiderOakHive/config/blender/ but this fails $ ls -l ...
0
votes
0answers
28 views

ln -srf is alternating between two different linking behaviors

I'm currently working on putting my dotfiles under version control, and I'm running into a weird behavior with ln -srf. My setup consists of a directory /home/agentwiggles/Code/dotfiles, which ...
0
votes
1answer
376 views

sym link for android-studio/bin/studio.sh

I tried creating a symbolic link for android studio as such sudo ln -s android-studio/bin/studio.sh /usr/bin/asw I chose asw as the keyword to hopefully launch the executable studio.sh from anywhere ...
0
votes
0answers
34 views

ldconfig creates a link to a link to a library

Is it correct for ldconfig to create a link to a link which points to actual library, instead of creating a link pointing to a library? Example: [root@server lib64]# ll liblber* -rwxr-xr-x. 1 root ...
0
votes
1answer
30 views

How would I find any symlinks on my system that reference “/tmp”?

I need to create a list of all symlinks that reference the /tmp directory. How many are there in total?
0
votes
1answer
212 views

In Mint 17, how do I copy/paste symlinked files?

In Mint 17 (Cinnamon), I'm using the file manager (I guess it's called Nemo?) to view some header files after building OpenSSL in the 'include' directory. Each of the header files in this directory ...
0
votes
3answers
245 views

Double symlink (for partition and server)

I hope this is not a duplicate, I searched but couldn't find an answer. I'm using Linux Mint. I have a Data partition that mounts automatically on boot. I've created symlinks from this partition on ...
0
votes
0answers
42 views

Why does reading from a symlink to network location cause local disk activity?

I am running RHEL 6.4 and have a symbolic link in my home directory to a large file stored elsewhere on a network. My home directory is a network location as well. I've noticed that when I run a ...
0
votes
1answer
85 views

Linux - symlink between mtd partition and user data from mount location

Is it possible to create a symbolic link between NAND/NOR mtd partition and a file from mounted partition (e.g., ln -s /tmp/mnt/linux.bin /dev/mtdblock1)
0
votes
0answers
174 views

Avoid infinite loops in file operations

In many programs, such as in this example filezilla, when I go to use certain directories they get stuck in an infinite loop. So I might be uploading a folder to an FTP server, but this folder links ...
0
votes
1answer
38 views

Providing ftp access (of selected files) to users from a hashed repository of unique files

We have a portal where each user has an account and a file repository that goes with it. Whenever any user uploads a file using a form, the php app hashes the file contents first and checks to see if ...
0
votes
1answer
44 views

Convert linux symlink to osx symlink

I have transferred a folder from a linux machine to a macbook pro with osx 10.9, now I am having trouble with the symlinks in this folder (lots of them). In linux if I do vi link2file.txt, it has the ...
0
votes
1answer
845 views

Symbolic link permission changes [duplicate]

I would like to change the symbolic permission[lrwxrwxrwx] to 755. I've used the command to try and change the permissions and it's not working. $ chmod -R 755 symbolic link folder
0
votes
0answers
434 views

g++: error: /usr/lib/libGL.so: No such file or directory after uninstalling AMD drivers

This is a question asked several times all over the internet. Duplicates: http://askubuntu.com/questions/395544/g-error-or-nosuch-file-or-directory ...
0
votes
0answers
38 views

Symbolic link path [duplicate]

Hi I want to find out the path of symbolic link. I want to make a script for that but I can not find a command that will print the path of symbolic link. I want to write a script with directory as a ...
0
votes
1answer
158 views

How to increase the link count for a directory, link count went to 0?

I have made myself land in this situation, it is a chrooted workspace on my system where I virtualize the entire file system ( so its not actual /var/log ) Is there a way that I can either delete this ...
0
votes
2answers
300 views

How do I copy directories and symlink files?

I have got a directory of huge files (total ~ 1TB) and I don't want copy them around. However, I'd like to work around them, so it would be convenient to have them linked in a directory hierarchy I ...
0
votes
0answers
1k views

make: i686-linux-gcc: Command not found

I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: ...
0
votes
1answer
530 views

pwd resolving symbolic links [duplicate]

Possible Duplicate: pwd without symlinks Imagine I have a directory /home/me/dir and a symbolic link to it called /home/me/dirlink now if I enter dirlink and use pwd, it of course ...
0
votes
0answers
113 views

Purpose of hard link and soft link [duplicate]

Possible Duplicate: What is the difference between symbolic and hard links? I've read quite a few articles regarding hard links and soft links, but I still dont understand the purpose of ...
0
votes
1answer
428 views

file with permission lrwxrwxrwx does not show any link on “ls -l” command

lrwxrwxrwx. 1 tomcat tomcat 27 Oct 17 00:23 work This is my file(link) I want to go inside a directory within it to rm a file and then copy the new one. But it says permission denied and does not ...
-1
votes
3answers
61 views

Deleting symbolic links - Logics and how to [duplicate]

First, Happny new year all here! I'm very new to UNIX\Linux and I've mistakenly created the following Symlink: sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-enabled/phpmyadmin.confservice ...
-1
votes
1answer
72 views

Can a symlink be edited to link to a different directory or file? [duplicate]

When I move a directory elsewhere, a symblink to it will become invalid. The way I update a symlink mylink is first going into the directory, and then running ln -s "$PWD" mylink, and then mv mylink ...
-1
votes
1answer
211 views

find not working right

if [[ "$1" == "" ]] then leftarray=($(find . -type l -printf "%p\n" 2>/dev/null)) rightarray=($(find . -type l -printf "%l\n" 2>/dev/null)) for var in "${rightarray[@]}" do ...
-2
votes
2answers
48 views

How to find only the name of a link? [closed]

Specifically, I need to write a C program where I put inside the pathname of a symbolic link and on output I print only the name of that symbolic link(not the name of the file pointed by the link). ...