The symbolic-link tag has no wiki summary.
0
votes
1answer
293 views
Dreamweaver not recognizing symbolic link as directory
I have this directory
drwxrwxr-x 6 awdfiles pasgroup 4096 Jan 31 17:20 awdfiles
Which I want to access via another FTP connection. The user is part of the pasgroup
...
1
vote
0answers
187 views
Root Relative Symbolic Links Not Resolving Properly (Windows)
According to the MSDN Documentation on Creating Symbolic Links, root relative symbolic links (those starting with "\") should resolve relative to the drive that the symlink is accessed from. I have a ...
3
votes
3answers
192 views
Prevent 'cd' remembering symbolic links traversed
Say you have directory ~/mytool that softlinks to /usr/local/mytool. Then cd mytool leaves your current directory as ~/mytool, which may cause scripts to behave incorrectly. Is there a way to avoid ...
1
vote
2answers
274 views
CentOS: command not linked/working
Recently installed CentOS and many commands are not working:
[root@zrebirth zeno]# quotacheck
bash: quotacheck: command not found
[root@zrebirth zeno]# adduser
bash: adduser: command not found
...
4
votes
1answer
157 views
Make folders on multiple drives appear in a single folder without using symlinks
I have directories sorted by date on different physical drives:
/mnt/drive1/2000
/mnt/drive1/2001
/mnt/drive2/2002
/mnt/drive3/2003
/mnt/drive4/2004
/mnt/drive4/2005
/mnt/drive5/2006
How can I get ...
1
vote
1answer
42 views
What's the best way to atomically add files to a web directory?
So I have a strange question, but I'm working on a script to deploy a PHP codebase and want to see if something like this is possible:
I have a directory that Apache uses as a DocumentRoot:
...
1
vote
2answers
858 views
Can I make a Symbolic Link in Windows 7 (or 2008) between 2 network locations?
I would like make a symbolic link in Windows (7 or 208 between 2 locations on a file server (Netapp):
mklink /D \server\share\some\link \server\share\some\target\path
Is this possible? I can't ...
1
vote
2answers
835 views
Apache does not show and does not follow SymLinks
On Linux Fedora 15, Apache doesn't follow symlinks, and they did not show in directory index... Can you help me why?
Just to mention that in httpd.conf I do have :
<Directory />
Options ...
4
votes
3answers
166 views
Is it an unsafe practice to symlink /etc conf files?
To manage the configuration of a server, I keep some configuration flies (located in /etc) under version control (in the home folder) and then symlink to them from their /etc locations:
...
0
votes
2answers
75 views
Multiple sites using same .htaccess
I want to lock down a number of different sites using an htaccess file. All of the sites will be restricted to the same IP addresses. I was thinking of having 1 .htaccess and create a symbolic link to ...
0
votes
0answers
247 views
symbolic link or virtual directories?
I have 200 websites on the same server.
90% of the content is the same. However the content is dynamic asp.net pages. Not static images.
For example:
/site1/AdminPanel/
/site2/AdminPanel/
...
10
votes
3answers
294 views
What are possible drawbacks of an IIS 7 site having an NTFS junction as a web root?
I am trying to come up with a way to deploy ASP.NET code with as little site disturbance as possible. One thought was to set up the site to be served from an NTFS junction c:\www\example.com where
...
2
votes
2answers
187 views
execute cgi script from directory that is a symbolic link
I have a script that is available through Apache that modifies parent directory. Ew. mybin/a.pl, which modifies ../data/ directory. I would like to create various aliases eg. localhost/www/mybin/a.pl ...
0
votes
2answers
356 views
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 ...
0
votes
0answers
92 views
Apache .htaccess set different password for symlink
I got a domain with a website that can be reached by two urls, mydomain.com/pathA and mydomain.com/pathB.
But they are actually the same directory on the server. It contains a MediaWiki ...
3
votes
2answers
736 views
how to create symbolic link (ln) between two partitions
I have two partitions on my Ubuntu 10.04.3 server.
partition 1: /mnt/storage/
partition 2: /var/www/myweb/
now when i run the following command
$ ln /mnt/storage/sourcefile.txt ...
5
votes
5answers
1k views
How do I find and report on broken symbolic links automatically?
As tidy sysadmins, we like to ensure that the little things are just as well covered as the big things (when time permits). One of these things is ensuring that our systems aren't full of broken ...
1
vote
1answer
1k views
Moving postgres data folder on NFS drive. Is it better to symlink, reinit cluster, or modify init.d script?
I want to move my postgres data folder to an NFS drive but I'm not sure what would be the best way to do it. I've got three options in mind:
According to Postgres Documentation, one method would be ...
1
vote
2answers
765 views
MySQL won't start after creating sym link to data directory
I've moved all the stuff in /var/lib/mysql to /500gb/mysql, and created a symbolic link from one to the other. I then did a chown mysql:mysql and chmod 777 (with both -h and -R as necessary) to both ...
0
votes
2answers
2k views
Fixing Shared PCRE Library on CentOS
This is less a question about PCRE, and more a question about updating shared libraries. The distribution of CentOS I'm running only allows for yum upgrades to version 6.6, or somewhere similar.
I'm ...
2
votes
3answers
535 views
Permission denied for symlink to executable in nfs mounted directory with the sticky bit enabled
We have an NFS export for any of our users to install and maintain useful software for the network mounted at /public on our clients. On the NFS server, this directory is world writable with the ...
0
votes
3answers
562 views
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 ...
0
votes
1answer
98 views
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 ...
0
votes
0answers
297 views
Symbolic link to directory with index.php triggers 500 error
I'm on a CentOS 5.5 box trying to point the public_html directory to the latest app release. Symlinks are turned on and working okay in Apache. Here's an example of the issue:
symlink_foo => ...
0
votes
1answer
77 views
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 ...
2
votes
1answer
3k views
How do I find circular symbolic links?
I'm working on a HP-UX system and I want to find if there are any circular symbolic links.
So far I'm using the command:
ls -lrt `find ./ -follow -type l`
But it's only doing ls -lrt on current ...
0
votes
1answer
128 views
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 ...
0
votes
1answer
826 views
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:
...
0
votes
1answer
1k views
git, egit, submodules, and symlinks — how should shared sub-projects be handled in eclipse? [closed]
Question: what's the best way to handle sub-projects in eclipse when using git for SCM?
Here's the situation. I have a few git projects with a directory structure layed out more or less like this:
...
2
votes
1answer
771 views
Perform rsync while following sym links
I have a directory that contains symbolic links to other directories located on different media on my system:
/opt/lun1/2011
/opt/lun1/2010
/opt/lun2/2009
/opt/lun2/2008
/opt/lun3/2007
But the ...
2
votes
2answers
81 views
How to list directories that aren't being symbolic linked to in a directory?
I'm trying to do some cleanup similar to this question. In a UNIX OS, I want to delete the directories that aren't being symbolic linked to in a given directory.
e.g. I have a deployment script that ...
2
votes
1answer
116 views
How do you find the target of a symlink created with mklink
Once a symlink is created using mklink, is there any way to find the link target, other than parsing the output of dir command ?
As an example, junction.exe will return the substitute name when ...
2
votes
2answers
5k views
Apache Error: Symbolic link not allowed or link target not accessible
I can't seem to get a symlink working in my Apache VirtualHost, no matter what I try and I see the following error in the error log:
Symbolic link not allowed or link target not accessible: ...
1
vote
2answers
317 views
Which is generally considered faster or best practice: symlinks or Apache aliases?
I'm curious as to what most people's views are on this subject. Personally, I will almost always prefer symlinks unless I have no other option -- I find that it is far more obvious when someone is ...
0
votes
2answers
395 views
SymLinks vs. PHP Includes (performance)
Which of these 2 is easier/faster for a Linux server running Apache to process?
A) A symlink pointing to a php file:
file-sym.php ---> file-orig.php
B) A PHP file (file-inc.php) including ...
0
votes
1answer
640 views
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
...
1
vote
3answers
177 views
urlrewrite htaccess on symbolic directory
I have a problem using htaccess url rewrite on a symbolic folder.
Below is the line which i am using in htaccess file for url rewriting.
RewriteRule ^global/css/([0-9]+)/([a-z-_]+)\.css$ ...
0
votes
1answer
903 views
Symbolic link bypasses htaccess in apache
I have a protected folder in my server.
/var/www/private/
/var/www/private/.htaccess
It also has a lot of subfolders with different services.
/var/www/private/service1/
/var/www/private/service2/
...
3
votes
3answers
577 views
Native Symlink Windows 2008 r2 with cygwin
Is it possible for me to create an ssh session on windows which then does some folder/file manipulation and then creates a NATIVE windows symlink.
i.e. a symlink that will be recognised by IIS and ...
1
vote
1answer
2k views
Following Windows SymLinks in network shares
I have a shared folder, let's call it
e:\folder2\
'Everyone' has read permission to the share and file system.
From a command line, with pwd at
e:\folder2\
I ran
mklink /D slF1 e:\folder1
...
2
votes
4answers
3k views
Using symbolic links with git
I used to have my system configuration files all in one directory for better management but now i need to use some version control on it.
But the problem is that git doesn't understand symbolic links ...
1
vote
3answers
383 views
add soft-link to http svn repo?
is it possible to add some kind of softlink to an svn repository?
i want to map the urls like this.
http://svn.server.com/repo/latest-stable -> http://svn.server.com/repo/tags/0.5.4-stable
0
votes
1answer
1k views
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 ...
0
votes
1answer
2k views
How do I assign an SELinux label to a symlink with semanage so it persists after a relabel?
My apache DocumentRoot /var/www is a symbolic link to another path. The target has the appropriate file context label (httpd_sys_content_t) so that apache can read it with SELinux enabled. However, ...
0
votes
5answers
690 views
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 ...
1
vote
2answers
4k views
What causes Permission Denied when doing an ls on a symbolic link, when the underlying file has 'r' granted to all?
Not sure if this belongs here or on superuser.com.
I'm battling with getting a C process working that needs to link in Oracle dynamic libraries.
It compiles and runs fine under the oracle user (the ...
2
votes
4answers
343 views
Does anyone knows how to create a sybmbolic “directory” in linux?
I've tried the ln -s directory_to_use directory method, but all it does is just create a "file" that links to directory_to_use, which doesn't work when using FTP.
What I'm looking for is, for ...
0
votes
1answer
362 views
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 ...
3
votes
4answers
2k views
Create NTFS symbolic links from within Linux
Is there a Linux utility that can create NTFS symbolic links? That is, a link on an NTFS partition that points to another NTFS folder - one that will work within Windows 7, specifically.
I wish to ...
0
votes
1answer
65 views
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 ...