Questions tagged [symbolic-link]
220 questions
0
votes
2 answers
How do I see and delete an 'invisible / orhpaned' symbolic link?
There seems to be an invisible symbolic link on my system.
First, I go to the /var/www directory and it shows nothing:
# var/www# ls -la
total 0
Next, I create a symbolic link and it is created successfully:
# var/www# ln -s /var/www/server/…

user29701
- 31
- 1
- 4
0
votes
3 answers
Performance & Security Factors of Symbolic Links
I am thinking about rolling out a very stripped down version of release management for some PHP apps I have running.
Essentially the plan is to store each release in /home/release/1.x etc (exported from a tag in SVN) and then do a symlink to…

Stoosh
- 53
- 6
0
votes
1 answer
Relocate symfony config directory
I have a new symfony project. In order to satisfy Debian's FHS I want to put the project's config/ directory under /etc and create a symbolic link pointing from the normal config/ location to the directory in /etc.
I have tried this but it does not…

user35042
- 2,681
- 12
- 34
- 60
0
votes
1 answer
mod_symlink or something to deliver files from outside the doc root?
I'm wondering if there is an apache mod that can handle delivering files outside of the document root?
My specific example is that I would like to, in my vhost config if possible, rewrite ROBOTS.txt so that I can provide a generic "disallow all" for…

DanH
- 827
- 2
- 9
- 26
0
votes
1 answer
Using a link to a crontab file located elsewhere than /etc/crontab (Debian)
I have an EC2 instance in AWS. As you know, if my instance crashes I lose all data located in the local EC2 hard drive. Of course I have an EBS for my data, but /etc is located in the non-permanent-local-drive, and I am trying to move all system…

Antoine
- 133
- 1
- 5
0
votes
1 answer
Samba mount isn't following a symlink
I am running two servers and wish to mount a directory on one from the other. For various reasons, I wish to use Samba (smbfs) rather than NFS.
ServerA mounts ServerB with this in the fstab:
//ServerB/sambashare /mount/point smbfs…

Peter Howe
- 203
- 2
- 9
0
votes
1 answer
Tomcat unpack wars into directory other than appBase
We would like to configure Tomcat in the following way (where X -SL-> Y represents a symlink named X pointing to a path Y):
CATALINA_HOME/webapps -SL-> /var/data/nas/deploymentconfiguration_a
/var/data/nas/deploymentconfiguration_a/myapp.war -SL->…

Rich
- 1,343
- 7
- 28
- 39
0
votes
1 answer
Tomcat - Symbolic link to image directory doesn't display images
I have a Java web app deployed on Tomcat 6 on Ubuntu 9.04. For certain images, I want to create a symbolic link to another directory of images. This will allow me to reference images that remain on the server even if the application is removed and…

Tai Squared
- 639
- 1
- 9
- 10
0
votes
5 answers
Why are symbolic links not working in MySQL?
I'm having an issue, I searched a lot but I'm not sure if it's related to a previous security patch. On the last version of MySQL on Debian Lenny ( 5.0.51a-24 ) I need to share one table between two db, those two db are in the same path (…

Eno
- 204
- 1
- 4
0
votes
1 answer
how to create a simlink to a directory?
this question is coming from my other question and I need help to make this work. I was trying out for some time and couldn't make it work.
I have a directory inside redmine instalation /home5/onalllev/redmine/public/ and I need the entire content…

Radek
- 1,153
- 4
- 26
- 39
0
votes
1 answer
Changing /lib directory from initramfs to mounted partition's /lib
I want to change the /lib loaded from initramfs to a mounted partition's /lib ideally without having to rm the initramfs' /lib and then symlink-ing to the new /lib.
The problem with this approach is that once I delete the original /lib, my binaries…

Rystraum
- 111
- 3
0
votes
1 answer
linux: make links work after mount
This is not your classic programming question and since I'm quite new to this (really cool!) site, I'm not sure if this is the place, so I'll try anyway.
I work in a lab when all the guys use PCs with Windows and access the lab linux servers via…
David Breimann
0
votes
1 answer
Append symbolic link to served media
I have two folders such as
nonserved/
folder1/
folder2/
and a served folder via Apache
media/
js/
css/
img/
In the end, I want to include/append contents of /nonserved to /media so that www.mysite.com/media will be as…

Hellnar
- 143
- 1
- 6
0
votes
1 answer
create symlink to another machine
I have 2 machines. Both running CentOS. Box1 is webserver with apache, php. Box2 is mysql, and file storage. The files will only be accessible from Box1 within the webapp.
I'd like to somehow create a symlink or somesuch on box1 to a folder on box2…

stormdrain
- 1,439
- 7
- 28
- 52
0
votes
1 answer
Groups and Symlinks, is this safe?
Im trying to serve similar content over two websites, but don't want to have 2 of each file, especially when they are growing.
The basics, im running CentOS, with cPanel.
Is it safe to do the following, I have folder downloads1 in…
sjohns