The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
7k 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
456 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 ...
1
vote
2answers
454 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
843 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
252 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
1k 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
663 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
3k 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
4k 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
433 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
2k 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 ...
3
votes
1answer
3k 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
918 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
5k 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 ...
3
votes
4answers
602 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
507 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
3k 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
74 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 ...
0
votes
1answer
102 views

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 ...
2
votes
1answer
666 views

Rsync: dealing with absolute symlinks

Having read through the rsync manpage, I can't see any way for rsync to automagically transform absolute symlinks between machines, i.e Server A file -> /home/username/path/file Server B file ...
0
votes
1answer
57 views

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 ...
3
votes
3answers
1k views

Replace symbolic-link with target

How can you replace all symbolic-links in a directory (and children) with their targets on Mac OS X? If the target is not available, I'd prefer to leave the soft link alone.
1
vote
1answer
679 views

Apache configuration FollowSymlinks- Apply to php scripts?

I have Options set to none for my webroot directory. I also have a symmlink /var/coderoot -> /var/webroot/coderoot In the php script I can do include("/var/coderoot/file"); and it works fine. ...
1
vote
2answers
424 views

IIS7 doesn't monitor changes across symlinks

I've used the mklink utility to create a symlink to a directory of web content. IIS7 doesn't "see" changes any classic ASP files in this linked directory without issuing an iisreset. I've disabled ...
0
votes
1answer
427 views

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 ...
16
votes
2answers
8k views

how to update a symbolic link target (ln -f -s not working)

I'm using ln -f -s /var/www/html/releases/build1390 app-current to update symbolic link "app-current" with a new destination. However, this doesn't work, the link "app-current" keeps it ...
0
votes
1answer
82 views

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 ...
1
vote
1answer
6k views

Setup symbolic link where users can access it with FTP

I have a folder on a server where a client of mine has a bunch of folders that they upload images and what not for a site, I do a symbolic link to those folders to the root of the website. This way I ...
1
vote
3answers
597 views

Disabling “symlink follow” feature on Ext3/4 mount points

How can I disable the symlink feature of ext3 file system mount point ? My server is being attacked by some sort of symbolic link hacking methods for reading other user's home directory. There is such ...
3
votes
3answers
5k views

What is the difference between a 'symbolic link' versus a 'junction' when use 'Link Shell Extension'?

What is the difference between a 'symbolic link' versus a 'junction' when use 'Link Shell Extension' ? Please explain.
2
votes
3answers
2k views

How can I verify a symbolic link exists in CentOS

Normally, ls -la would give this to me but I guess CentOS is different. I need to verify that a symbolic link exists.
1
vote
1answer
1k views

SVN, Samba and Symbolic Links. How to get them all to play together?

I've got a website project under version control that relies on files from an unversioned directory on the same server via Symbolic Links. I'm currently storing the symbolic links in the repository. ...
1
vote
3answers
248 views

Why does symlinks are not enabled - apache

I have mapped my apache to the root /var/www/vhosts. If I put there files/folders, I see them and can surf to them. But, If I put symlinks in /var/www/vhosts I get 403 - no permissions. I have the ...
9
votes
3answers
19k views

How to list symbolic link chains?

Given this example: mkdir a ln -s a b ln -s b c ln -s c d If I execute: ls -l d It will show: d -> c Is there a way for ls or any other linux command to show d -> c -> b -> a ...
1
vote
1answer
186 views

Allow certain users to access a specific directory?

I'm trying to figure out how to allow certain users who are also me to access a directory of files that I want to use for all of my users. I'm using cPanel and I used WHM to create three separate ...
0
votes
4answers
3k views

Linux symbolic links over a network

Hi everyone, I am trying to create a symbolic-link (I think) across my network but I have very limited experience with these things and have found online help difficult to come by (perhaps I'm ...
7
votes
1answer
4k views

How can I prevent rsync replacing symbolic links with new directories in the target directory hierarchy?

I am using rsync to synchronize files between a source area and a target area, where the target directory hierarchy contains symbolic links. When a source directory has the same name and relative ...
1
vote
2answers
620 views

mounted a symlink on a mountpoint

I have a samba share called A on a machined named aaron. Inside that share is a smylink called Audio-CD_WAVs which points to a machine local directory. When this share is accessed by a windows ...
12
votes
4answers
6k views

ln -s vs mount --bind

Is there any practical difference between using ln -s or mount --bind? I want to move some folders to another partition, without changing their daemon setting, and wonder what approach I should take. ...
0
votes
3answers
338 views

Remote Link on OSX

I have two machines on the same LAN, I usually ssh from one to the other and I was wondering if I could create a symbolic or hard link from a box that points to the other one. I'm using OSX on both ...
1
vote
3answers
128 views

Symlinks for common files

I'm trying to consolidate some website files on one of our CenotOS servers, the setup i want to create is something like this but i'm not sure if its actually possible we would have a set of files ...
1
vote
2answers
229 views

ln -s not working under /mnt/

I'm following this tutorial to set up a LAMP stack on EC2 with persistent storage on EBS. It all works well when doing it step by step. But in case you want to mount your EBS under /mnt instead of ...
1
vote
2answers
60 views

consolidate CMS files in one place

We have a system where we use a bespoke CMS on one of our servers. This CMS is used by 30-40 clients. The majority of the files for each client CMS are the same (apart from a few folders)as each time ...
0
votes
2answers
569 views

Symbolic link network volume

Is it possible to create a symbolic link to a network volume? I have a lot of content stored on a machine that I would like to serve up with apache from another. Basically I want http://mysite.com/ ...
1
vote
1answer
477 views

Symbolic Link to folder in root

I have created an ftp account within a vhost and added a symbolic link to a folder situated in root e.g. [root@server myvhost]# pwd /home/myvhost [root@server myvhost]# ll ..... lrwxrwxrwx 1 myvhost ...
14
votes
3answers
13k views

Find out symbolic link target via command line

Say that I setup a symbolic link: ln -s /root/Public/mytextfile.txt /root/Public/myothertextfile.txt is there a way to see what the target of myothertextfile.txt is using the command line?
1
vote
4answers
14k views

How do you create a symbolic (hardlink) in CMD.exe

I need to do this without installing software... Any ideas? MSDOS (cmd.exe) on Windows XP
1
vote
4answers
1k views

Uploading symlinks to a server

I'm working on a project with a directory structure that relies on symlinks. I would like to package this project in such a way that users with no command line access or knowledge could still upload ...
1
vote
2answers
2k views

Can I symlink my Windows data to another hard drive?

When I upgrade to Windows 7, I would like to keep the Windows installation and my data separate. Possibly install Windows itself on a small SSD for the performance gain. I know I can tell Windows ...
2
votes
3answers
480 views

Are there any common symlink gotchas?

Part of my migration strategy of moving to Amazon EC2 for our servers involves making use of symlinks to keep installs and files in their 'standard' locations on the servers but the actual storage of ...