Questions tagged [symlink]

Symlink is short for symbolic link (also soft link). It is a term for any file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution.

symlink is short for symbolic link (also soft link). It is a term for any file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution

2458 questions
1
vote
1 answer

Symbolic link messed up on OSX while trying to change the Java version

I done a bad thing please help. I was in: /System/Library/Frameworks/JavaVM.framework/Versions I was told to run the following command: sudo ln -fhsv 1.6 CurrentJDK Which has pretty messed everything up: lrwxr-xr-x 1 root wheel 10 5 Apr…
drlobo
  • 2,139
  • 5
  • 32
  • 42
1
vote
1 answer

Mod Rewrite show private file access denied

I have the following mod rewrite rules: RewriteCond %{DOCUMENT_ROOT}/../application/%{REQUEST_URI} -f RewriteRule ([\w]+\/www\/(.*)) %{DOCUMENT_ROOT}/../../application/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ ./index.php/$1 My…
Ozzy
  • 10,285
  • 26
  • 94
  • 138
1
vote
2 answers

.htaccess rewrite dynamically soft link hidden directory

I was not sure how to phrase this question but hopefully my description will make more sense as to what I wish to achieve. I am currently building a framework which supports multiple applications. The directory structure is like…
Ozzy
  • 10,285
  • 26
  • 94
  • 138
1
vote
1 answer

sass/scss @import when relative path is symlink

We have trouble with @import of scss files from another bundle in symfony2. The source code (hg repo) lives in /files/... in machine A. In devel, apache serves from /var/www/... in machine A, linking to /files/... in machine A. In production,…
Xavi Montero
  • 9,239
  • 7
  • 57
  • 79
1
vote
1 answer

How do I know if a file name is an alias in Android?

I am trying to figure out a method for finding removable SD cards in Android devices. I have found several methods that provide consistently good results. Sometimes I find two different file paths that seem to point to the exact same position. For…
Jon
  • 1,820
  • 2
  • 19
  • 43
1
vote
2 answers

Failed to create symbolic link

I'm trying to deploy my "develop" branch to my development server but when I run cap development deploy, I get the following error: executing "ln -nfs /var/www/xyz.co.uk/shared/web/media /var/www/xyz.co.uk/releases/20130311143220/web/media" …
user1961082
  • 1,015
  • 17
  • 41
1
vote
0 answers

Create symbolic link in SD card Android

I want to keep track of the files which get downloaded through my app. For the downloads, I want to use the default downloads directory. But I want to keep a soft link in a separate place in SD card so that if the original file is moved I can still…
jaibatrik
  • 6,770
  • 9
  • 33
  • 62
1
vote
3 answers

Change Apache rootdir to symlink, getting 403 Error

I'm new to .php and servers and all this craziness (and StackOverflow) but I've downloaded Apache and I'm trying to symlink a PHP code folder to the Apache root directory. My Apache root was var/www/html and my PHP code folder is Documents/PHPStuff.…
1
vote
0 answers

how to add external Emacs config files to Git repository?

I use Aquamacs Emacs and GitHub on OSX. I'm trying to add my Emacs config files to my Git repository for my Emacs files. My Git repository for my Emacs files lives at ~/elisp/ I have Emacs config files in two other places: 1. a file: ~/.emacs 2. a…
incandescentman
  • 6,168
  • 3
  • 46
  • 86
1
vote
3 answers

PHP and Symlinks in Windows

I have a directory tree with symlinks in it. They are called with require_once, but sometimes they are referred to with 'm' and sometimes 'mydir'. 'm' and 'mydir' are symlinked, but when the require_once is called twice, it treats them as…
The Hawk
  • 1,496
  • 6
  • 26
  • 43
1
vote
0 answers

Howto copy a folder and all its content in Java recursively, including symbolic links

Currently, using Java 6, I copy a folder and all its content recursively by using FileUtils.copyDirectory(). But that fails (on AIX) because of symbolic links. In particular, one subfolder holds the symbolic link $ ll javaws lrwxrwxrwx 1 me …
Ulrich Scholz
  • 2,039
  • 4
  • 30
  • 51
1
vote
0 answers

git keeps adding a symlink directory and then removing it every other time I git add

My folder structure is like this: my_source git repo some folder that works fine a symlink to another folder First time I ever add: I run git add . and it adds all of the stuff it should. Second time: I run git add . and discover git has removed…
Phlox Midas
  • 4,093
  • 4
  • 35
  • 56
1
vote
0 answers

symbolic links not work with htaccess in xampp

For several days i'm trying to figure out how symbolic links work with htaccess rewriterule and for that I've created a new project to help me to apply these rules in one website for which I work so the context is: In my xampp folder on local-host I…
V R
  • 11
  • 2
1
vote
1 answer

php filehandling in a symlink doesn't work

I've got some trouble on a apache2 server with using symlink. The base www folder is in "/var/www//htdocs". I did a symlink form /home//log" to "/var/www//htdocs/l/" and called it "log". In my oppinion, all rights are given correctly for the…
frank allen
  • 35
  • 2
  • 8
1
vote
2 answers

Resolving all symbolic links in NSURL

I'm writing a little piece of code in which I should detect if an NSURL contains a symbolic link (i.e., symbolic file components other than the last one should also be detected). To do this, I confront the NSURL itself with the NSURL returned by…
Nickkk
  • 2,261
  • 1
  • 25
  • 34