A special type of file that references a file or directory.

learn more… | top users | synonyms (1)

4
votes
3answers
168 views

File permissions

I have a PHP script running which makes symlinks. To confirm which user it is: file_put_contents("testFile", "test"); $user = fileowner("testFile"); unlink("testFile"); echo "running as user '" . ...
6
votes
1answer
343 views

Why wouldn't a symlink to a symlink work?

I've run into a weird issue when installing SWI-Prolog using homebrew on my OSX 10.9 box. I'm trying to debug it to figure out whose bug it is (SWI-Prolog's, homebrew's, or OSX's), so I can report it ...
4
votes
1answer
103 views

How do I batch-export all the content contained in symbolic links? (and then delete them all)

So as an alternative to Recursive scp without following links or creating a giant tar file? (this could be an emergency since the remote files could be deleted any time soon), I'm thinking of deleting ...
0
votes
1answer
21 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
73 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 ...
4
votes
0answers
359 views

No access to symlink folder on NTFS partition

I am using an NTFS parition for storing data I like to access both from Ubuntu and Windows 7. On my Ubuntu HOME partition, I like to link the folder Assets in order to access it from an application ...
3
votes
0answers
45 views

auditing of symlink/symlinkat syscalls doesn't work here

I'm trying to monitor symlink/symlinkat syscalls of files under a specific directory, so I added two rules: auditctl -a exit,always -F arch=b64 -S symlinkat -F success=1 -F dir=/XX auditctl -a ...
3
votes
0answers
248 views

Using symbolic links and git to manage build versions

In general I follow the following workflow when I build any program (e.g. emacs, tmux, etc.) /home/opt/[name of the program]/builds/[version]/ bin lib share For example for a program like tmux I ...
2
votes
0answers
269 views

sshfs breaks symlinks from SFTP server

Does anyone know how to mount a remote SFTP path via SSHFS so that you can work with symlinks? When I do this, all the symlinks I create point to the wrong files (not the ones I linked to.) All the ...
2
votes
0answers
321 views

Multiple Linux or Unix Distributions, Same Home Partition or Data?

To avoid conflicts I have always installed multiple Linux and Unix distributions each with it's own home partion or directory, and in the era of 3TB hard drives this is often very practical; I also do ...
1
vote
0answers
61 views

How can I make Krusader show real size of symlinked files?

In the "size" column in Krusader, there is a link's size noted, instead of the size of the actual file. This is the same as what ls -l shows (the full address of the target file, e.g. 64 B instead of ...
1
vote
0answers
59 views

Dereference copy with KDE Dolphin

From the cli I can dereference copy a symbolic link with cp -L. Is it possible to do this with the KDE Dolphin file manager?
1
vote
0answers
687 views

Symbolic link to a socket

From a security point of view, is it safe to create a symbolic link to a socket file? The following bits of context refer to the deployment of a web application on a shared hosting service. $ ls -al ...
0
votes
0answers
60 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
12 views

Mount (or makefs or tunefs or cap or…) option to disallow symlinks?

(Other than mkfs.vfat, that is.) Is there a way in Linux to have a filesystem mounted but to prevent symlinks from being made on it? It's fine if this needs to happen at the time the filesystem is ...
0
votes
0answers
444 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: ...