The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
17 views

Apache 2: symlinks for readonly-mounted filesystems

I have a large data repository that, for security, I wish to keep mounted read-only for a VM running Ubuntu 14.04. This VM runs an Apache server, and I wish to symbolically-link certain files from ...
2
votes
2answers
432 views

Show symbolic links AND their targets in web directory listing (apache)

Listing a directory content with ls -l shows this output: total 12 drwxr-xr-x 3 root root 4096 Dec 11 16:38 2.3 drwxr-xr-x 5 root root 4096 Dec 11 16:38 2.4 drwxr-xr-x 2 root root 4096 Dec 11 16:38 ...
0
votes
0answers
13 views

Windows symbolic link on network share with XP clients

I have a windows 2008 R2 server which has a folder shared out. Within this folder I have created a symbolic link. This works fine for Win 7 machines in the organisation, however there are a number of ...
1
vote
0answers
44 views

Enabling the URL of a folder connected via symlink

Scenario Description: In my workplace we have a DomainController and use TerminalServices. There are different types of servers running on the DC (e.g. webapi , app). The dev guys developing the API ...
1
vote
3answers
706 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 ...
0
votes
0answers
27 views

EMC Networker and symbolic links

When investigating EMC Networker setup, I found a strange issue. I have a job set up to save /oracle from a server. On that server, /oracle is a symbolic link to /TEMPORAL/oracle When I check the ...
2
votes
1answer
682 views

Why do some host volumes in Docker containers give the error “too many levels of symbolic links”?

I'm running docker with a host directory mounted: $ docker run -v /usr/groups/thing -ti imagename /bin/bash Files in /usr/groups/thing/foo are accessible: # ls /usr/groups/thing/foo a b c But ...
20
votes
2answers
10k 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 ...
-1
votes
5answers
5k views

How to add symbolic link as webapp to webapps in Tomcat 7 on Linux?

Setup I use Apache Tomcat 7 on an Arch linux distribution, and my webapps directory is located at /usr/share/tomcat7/webapps. In this directory one should create a directory, and put META-INF and ...
0
votes
1answer
27 views

How to replicate apache configuration locally ( maintain 2nd level domain structure, symlinks )

I'm a student developer working for a college doing dev work for 1 department (~11 sites). The current workflow is as follows: SFTP into the staging server edit files when done, use a web utility ...
4
votes
1answer
160 views

Preserving existing destination symlinks with rsync

I am using rsync to keep a local debian repository updated. Recently, the disk I am using to store it started running low on space, so I decided to use symlinks to allow me to move some of the ...
0
votes
1answer
375 views

Include folder for certain www host outside document root folder

Ubuntu 12.04, running on Apache server. I wonder if that is possible to run/access from browser html/php file from other than document root location let's say from folder /testfolder on the root So ...
-1
votes
1answer
157 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 ...
1
vote
1answer
3k views

nginx symlinks permission denied / 403 Forbidden on Mac OSX

So I have an nginx server running on Mac OSX and I am trying to create a symlink in my nginx www directory from somewhere else. In the browser I get the wonderful 403 Forbidden error. I have also ...
0
votes
2answers
119 views

Performance hit from moving DB to another drive symlink?

We're considering moving one database (there are 4 of them in total) with InnoDB tables, to a separate partition in a Ubuntu 14.04 VPS. This DB gets read/write intensive (500 writes per sec, about ...
0
votes
0answers
120 views

Replacing files with symlinks takes more space - Fedora19 EXT4

Background: We are using PHP CacheLite. In order to have a human readable path to cache files cache_{hash}_{hash}, there is a symbolic link that is more descriptive of the cache contents. We ...
19
votes
3answers
22k 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?
0
votes
1answer
72 views

How to access original files from before a symlink gets updated, which have since been moved to another dir

We have a website and our deployment process goes somewhat like the following (with lots of irrelevant steps excluded) echo "Remove previous, if it exists, we don't need that anymore" rm -rf ...
29
votes
6answers
3k views

How to create a symbolic link without using ln?

I deleted a critical symbolic link - libc.so.6. I have the file it should point at, but the basic commands such as ln or wget won't work anymore due to the link missing. However, echo or other Bash ...
8
votes
2answers
795 views

Symbolic link and sudo

I create a symbolic link: ln -s /tmp/folder1 /tmp/folder2 Then I go to /tmp/folder2 and run pwd: $ cd /tmp/folder2/ $ pwd /tmp/folder2 $ sudo pwd /tmp/folder1 # <-- This is the odd part Why ...
0
votes
1answer
93 views

How do I write a script that compares folder/symbolic-link names from two diffrent folders?

I need help in writing a script to create symbolic links. Here is a script that I have been running on background. #!/bin/bash SOURCE="/home/$USER/www" DEST="/var/www" while true; do find $SOURCE ...
0
votes
0answers
31 views

Duplicating a complex folder structure with only shortcuts

There are 2 shared drives. One of them has a very complex folder structure. I would like to replicate the entire folder structure of Share 1 to Share 2. However I don't want to make duplicate files, ...
0
votes
1answer
328 views

mysql load_file() function always return null for symbolic link

i have installed new database server on ubuntu mysql version is 5.5.35 im trying to execute select load_file('/usr/home/aaa.com/medya_data/ver.txt') and im sure ver.txt file is exist but ...
1
vote
1answer
237 views

DegradedArray event after rsync but later mdadm and smartctl do not show any issue

I have in my cron rsync active and I started to get emails after each rsync This is an automatically generated mail message from mdadm running on titan707 A DegradedArray event had been detected on ...
1
vote
1answer
40 views

Share a single uploads folder between 2 users through a Symlink or similar

One of the VPS's we're running contains 2 accounts that both share a database and SHOULD share an uploads folder. Both accounts are directadmin generated web accounts on a Centos 6 server. The second ...
1
vote
2answers
6k 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 ...
14
votes
4answers
7k 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. ...
1
vote
2answers
86 views

Apache2: Use target name of symlink for Content-Type mapping

I am working on a web application that need to serve a number of continuously updated documents at static URLs, but the Content-Type of the documents differs (it's either JPEG or SVG). If the document ...
0
votes
1answer
774 views

install vmware tools in zeroshell 2.0

Situation I'm using the 2.0 RC2 iso from http://www.zeroshell.org in a VMware ESXi 5.1 virtual machine and am trying to adapt the instructions on HowTo: vmware-tools in ZeroShell for v2.0 as the file ...
-1
votes
1answer
81 views

Apache: Serve one directory in two virtualhosts

I try share a WordPress plugin directory between two sites. The problem is that the scripts are working but not the URLS. They are output in a strage way that the path is in there when it should not. ...
2
votes
0answers
81 views

Create a symlink to a serial port

I have a software that outputs some info to a text file. Now I want to redirect that output to a serial port. The file name is hard coded in the software. So I decided to create a symlink to the ...
-1
votes
1answer
56 views

creating a drive (letter) that is a link to a folder [closed]

on my home pc I want to simplify things when it falls to accessing my home folder, so I would like to make my c:\Users\myusername folder pointing to a virtual drive created ad-hoc, such as Y:. In this ...
-1
votes
1answer
43 views

Porting Site Created On Windows Apache Server to Linux Apache Server - Symlinks disappear

I created a site on a testing server on my local Windows machine, and now I wish to port it to a remote server which is Linux. Both sites running under Apache. To create symlinks on Windows, is ...
0
votes
1answer
1k 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: ...
5
votes
1answer
5k 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 ...
2
votes
2answers
314 views

How to rename junction without breaking link

If I rename a folder which is the target of a (or multiple) junction, is there any way to update all the junctions to point to the renammed folder instead of just breaking?
0
votes
1answer
112 views

Apache acting strange on symlinks [duplicate]

I have a VPS with CentOS and I'm facing a very strange behavior by Apache webserver. I started this server with 50GB of disk space and soon I ran out of space so I asked maintenance department and ...
0
votes
1answer
740 views

Tomcat 6.0 fails to read symlink symbolic link file

This is what I have my /tomcat/conf/context.xml <Context> <Resource name="jdbc/black" driverClassName="oracle.jdbc.OracleDriver" auth="Container" ...
6
votes
2answers
1k views

How do I find broken symlinks automatically on Windows?

Not sure if this is bad style, but I'm asking this question here because I couldn't find the answer elsewhere, and then I worked out one solution on my own. I'd be interested to see other people's ...
2
votes
1answer
29 views

delete empty file link

I accidently made a link and can't delete that: big:~# ls -al total 88 lrwxrwxrwx 1 root root 27 May 28 18:10 -> /etc/apache2/ssl/apache.pem drwx------ 8 root root 4096 May 29 01:45 . ...
0
votes
1answer
64 views

Disk Writes to Mounted EBS Volume Not Logged in Monitor

I have an EBS volume specifically dedicated to storing remote backups via rsync. This volume is attached and mounted to an EC2 instance. The user mediating backups has access to this volume via a ...
1
vote
1answer
197 views

Mount --bind versus symlinks

Linux server /www/website directory is my html directory Want users to ftp to /user/website/public_html directory which is chrooted and limited to ftp only access I currently accomplish this via ...
0
votes
2answers
182 views

Relative symlink within a symlinked directory

I have an installed application in /home/appuser/app/ In that directory there is a separate directory confs for the config files, which is symlinked to ../app-confs, like so: lrwxrwxrwx 1 appuser ...
21
votes
3answers
25k views

How to override/update a symlink?

I am trying to use symbolic links. I did some reading and found the following commands: Creation -> ln -s {/path/to/file-name} {link-name} Update -> ln -sfn {/path/to/file-name} {link-name} ...
1
vote
2answers
3k 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 ...
3
votes
2answers
747 views

Linux disk usage analyser that acts like symlinks are real files

I am using git-annex, an extension to the DVCS git, which is designed for handling large files. It makes heavy use of symlinks. The actual large files are moved to the .git/annex directory and the ...
4
votes
4answers
4k 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 ...
1
vote
3answers
794 views

User can't remove symlink which owns

I'm trying to remove symlink, although I have appropriate permission, the operation is denied (the user is called capistrno): capistrno $ rm -f /var/www/app/current rm: cannot remove ...
1
vote
0answers
253 views

Backup Server using Greyhole and BackupPC

I'm setting up an Ubuntu box to backup one of our servers using BackupPC. I've got 2x 2tb hard drives and I've set up Greyhole to duplicate the data from the samba share /mnt/samba/backups across both ...
0
votes
5answers
1k 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 ...