1
vote
1answer
20 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
2answers
55 views

How to hide the destination of a symbolic link

Say for instance I want to link the following two directories with a command like this: ln -s /home/usertwo testdir When I click ls, in the directory where this link is created, i will see ...
0
votes
2answers
62 views

Utility to create symlinks for all executables in the Start Menu?

It's really annoying in Windows that if you want to run about any third-party program from the command line, you either have to use its full path or manually add its containing directory to PATH. Is ...
2
votes
1answer
74 views

launching applications from the Windows command prompt?

Is there a Linux methodology to include .exe files symbolically to a location referenced by the %PATH%? The process seems trouble free on Linux, but when attempting to do similar actions via mklink on ...
0
votes
1answer
251 views

How do I make a relative link in windows with a space in the path [duplicate]

I want to make a relative link in Windows 7 to a path that contains a space character. Making a relative link without a space in the path works as follows (explained here): %windir%\system32\cmd.exe ...
3
votes
1answer
99 views

Is there any danger in removing '.' components from a path?

Can the transformation of a path A/./B into A/B change the meaning of the path? I am aware that the path A/foo/../B may not refer to the same object as A/B, due to symbolic links (if foo is a ...
1
vote
0answers
156 views

How do I search/replace symbolic links?

I've been having this issue for a long time, and I don't want to reinstall the whole system, yet. Now there's an app that runs on Java, and it doesn't even open. The logs says some cocoa files were ...
4
votes
3answers
1k views

Are world-readable/writable/executable links in /usr/bin security holes?

% ls -l /usr/bin/edit lrwxrwxrwx 1 root root 3 Jan 10 05:54 /usr/bin/edit -> vim* This seems to ...
1
vote
2answers
837 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
2answers
409 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 ...
4
votes
4answers
6k views

How to change a symlink in OS X?

How do I change where a symlink points to, without deleting and creating a new one (with ln -s "/path/to/point/to" "/path/where/symlink/is")? When I tried doing that with, for example, to Java's ...