06-07-2013
it was a bad xml file. fixed that and it worked fine.wrong context declaration( syntax was OK though) prohibited the entire line to be ignored hence the symlink wasn't being read(mainly the allowLinking=true)
once fixed , it got picked up.
This User Gave Thanks to KingaKoopa For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all,
I am trying to ftp and get some symbolic link file as it is instead of getting whatever it is pointing at. Is it do-able?
Thx in advance. (11 Replies)
Discussion started by: andrec
11 Replies
2. UNIX for Dummies Questions & Answers
hello folks
how y'all doin
well i have some questions about symbolic link and hard link
hope some one answer me
i open terminal and join as root
and i wrote ln -s blah blah
then i wrote ls
i see red file called blah blah
but didn't understand what is this can some one explain and... (2 Replies)
Discussion started by: detective linux
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am trying to find all files in a directory that have .dat and .int extensions and removing them.
rm -f `find ${MY_DIR} -type f -name '*.dat' -o -name '*.int'`
This works fine if $MY_DIR is a regular directory.
However when $MY_DIR is a symbolic link then this command fails.
How... (1 Reply)
Discussion started by: neeto
1 Replies
4. Solaris
Hi all,
I want to create a symlink on a link file, i mean, there is a file which is actually a symlink of some version. Now i want to create one more symlink on that link file.
EX: there is a file:
uat -> version
prod -> version
Now i want to create one more link on these 'uat' and... (1 Reply)
Discussion started by: raghu.iv85
1 Replies
5. Shell Programming and Scripting
I have a script within my home folder and want to be able to execute it without using the sh command.
I know that if it was in ~/bin and executable I could do it just by typing the file name, but would rather keep it in the current file structure
I tried creating a soft link in ~/bin,... (5 Replies)
Discussion started by: Jaloopa
5 Replies
6. Shell Programming and Scripting
Hi,
I have created an empty file and a symbolic link to a file. But when I issue the following commands, I am getting the output 2.
stat -c "%s" linkfile
du -hb linkfile
Why this is happening? (4 Replies)
Discussion started by: royalibrahim
4 Replies
7. Shell Programming and Scripting
Hi Forums,
I got a little problem, I made a few modifications to the code of the launch script of a testing server(minecraft) and now updating is broken aswell as the automatic directory creation.
These Lines somehow create an endless symlink that refers to itself and I don't know how to fix... (0 Replies)
Discussion started by: Xaymar
0 Replies
8. Programming
Hello All,
I've encountered a strange behaviour from g++ that doesn't make sense to me. Maybe you can shed some light on it:
I have a bunch of source files and want to compile them and link them with a static library liba.a located in /usr/local/lib64 into an executable
Approach 1 works... (0 Replies)
Discussion started by: magelord
0 Replies
9. UNIX for Dummies Questions & Answers
Hi everybody,
I read about treads realted to this issue but they did not resovle issue given below.
Please help me resolve issue given below
I have html file under /srv/www/htdocs/actual_folder
ls actual_folder/
test.html
and following link works... (0 Replies)
Discussion started by: newbielgn
0 Replies
10. UNIX for Dummies Questions & Answers
Hi, trying to understand more about symblic link, when I compiled a program called "match" in one folder ~/downloadsoftware/I want this program to be accessible like a system command by putting a symbolic link in /usr/bin/ Not by setting the $PATH method in .bashrc at this time.
What I did is:... (4 Replies)
Discussion started by: yifangt
4 Replies
SYMLINK(3) 1 SYMLINK(3)
symlink - Creates a symbolic link
SYNOPSIS
bool symlink (string $target, string $link)
DESCRIPTION
symlink(3) creates a symbolic link to the existing $target with the specified name $link.
PARAMETERS
o $target
- Target of the link.
o $link
- The link name.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.3.0 | |
| | |
| | This function is now available on Windows plat- |
| | forms (Vista, Server 2008 or greater). |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
Create a symbolic link
<?php
$target = 'uploads.php';
$link = 'uploads';
symlink($target, $link);
echo readlink($link);
?>
NOTES
Note
Windows users should note that this function will only work if the system you run PHP from is Windows Vista/Windows Server 2008 or
newer. Windows versions prior to that do not support symbolic links.
SEE ALSO
link(3), readlink(3), linkinfo(3).
PHP Documentation Group SYMLINK(3)