The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
0answers
27 views

How to allow a Windows Client to follow a Remote Symbolic Link Transparently

Here's the scenario. Client - Windows 7 workstation ServerA - Windows 2008 file server ServerB - Windows 2008 file server On ServerA: mklink /D c:\Share\Link \\ServerB\Share\Dest That works ...
0
votes
3answers
75 views

Identical directories on Linux file system are not symlinks. What else they could be?

I found two directories on some of my systems which are completely the same. All subdirectories and all files are the same. When I delete a file in one directory it disappears in other too. This would ...
0
votes
1answer
15 views

the actual link permissions aren't used for anything - What about Ownership?

After months of intermittent attempts to discover what was causing these Forbidden errors I've discovered evidence that strongly suggests Apache2 uses the actual link's ownership and group. I have a ...
1
vote
1answer
29 views

Determine volume location by understanding Windows symbolic link name

I need to figure out the location pointed to by a Windows symbolic link in order to troubleshoot something wrong with the folder or files located there. It's of the form: ...
1
vote
1answer
18 views

Can I make “static redirects” using symlinks in Apache?

I'm overhauling a site to use a new URL structure, but don't want the old URLs to 404, instead redirect to the new content. To complicate things, this is on a shared host where .htaccess is the only ...
0
votes
3answers
65 views

symlinks on shared storage

Say I have a glusterfs mount that is shared between multiple servers, which is accessed by an application, and logs are written to a directory that would normally be in the directory tree of that ...
1
vote
0answers
75 views

IIS server: directory not writable via symbolic link compared to directory junction (for only the first user)

We have the following setup for a webserver: Windows Server 2008 R2 Standard, IIS 7.5.7600.16385, PHP 5.3.28, the HMVC framework we use is Kohana. Kohana needs a cache directory to be writable in ...
1
vote
0answers
117 views

Effective permissions for a shared mklink to a non-shared folder and subfolders

What are the effective permissions if you share a symlink but not the folder it points to? From what I can see, there are 3 sets of permissions: 1) the target folder permissions 2) the symlink ...
0
votes
2answers
141 views

MySQL, NFS and symbolic links

I have been migrating an older server running apache2 + mysql under ubuntu to a new server running debian (wheezy). The migration works fine while the databases are storted localy (in our case ...
0
votes
2answers
82 views

Symbolic link type change on Window Server

We have been using symbolic intensively to archive historic files. An automatic script would create symbolic links regularly based on certain criteria. Users don't experience inconvenience as the soft ...
-2
votes
1answer
62 views

Tomcat7 pointing to a symbolic link WAR [closed]

I have Tomcat7 running on a Linux server. Tomcat is pointing to a symbolic link WAR for my application. The link is pointing to the actual WAR. I am looking to upgrade the app. What I have done is ...
1
vote
1answer
63 views

Can I upload files to one Windows share and expose them on another?

So I've got a Windows server with a couple of fileshares, call them ShareA and ShareB. ShareA is read/write accessible to only a couple of admins, and ShareB is read-only for all. The files on the ...
0
votes
2answers
133 views

Linux softlink to folder with date in path

I have a logging system, which writes logfiles on a daily base into subdirectories like the following: /var/log/xyz/2015/03/10/log.log In my home dir (or anywhere else), i want a softlink to the ...
0
votes
2answers
89 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 ...
1
vote
0answers
165 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 ...
0
votes
1answer
127 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
2k 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 ...
0
votes
1answer
51 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
535 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
2answers
1k 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 ...
0
votes
2answers
283 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
273 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 ...
0
votes
1answer
82 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 ...
30
votes
6answers
4k 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
1k 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
579 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
308 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 ...
-2
votes
5answers
11k 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 ...
1
vote
2answers
173 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
99 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 ...
-1
votes
1answer
97 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. ...
1
vote
2answers
5k 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 ...
2
votes
0answers
121 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
60 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
46 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 ...
2
votes
2answers
515 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
1k 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 ...
0
votes
1answer
151 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 ...
2
votes
1answer
35 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
81 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
328 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
405 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 ...
1
vote
3answers
1k 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 ...
2
votes
2answers
3k views

Linux Symbolic Linking not working as expected

I have achieved my "goal" several times before but am running into an issue I have not yet experienced before. I have a webserver setup with Nginx on Ubuntu 12.04 LTS. I have my system setup the way I ...
1
vote
0answers
324 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
1answer
952 views

htaccess rewriterules for multiple pages with parameters [duplicate]

In main page index.php I have two href (like menu) for objective.php and news.php For both objectives and news I sent variables like: <a href="objectives.php?menu=corporate-objectives"> ...
3
votes
1answer
9k views

Force rsync to copy symlink, even if referent does not exist

I am getting this message with rsync: symlink has no referent: "/a/path" Well, rsync is right: in the source filesystem, the (symbolic) link is pointing to a non-existent location. That is ...
3
votes
1answer
261 views

What does “link to unknown” mean?

I just upgraded my server to Fedora 17 which made a switch of my bootloader from GRUB Legacy to GRUB2. There are two symbolic links in the /etc folder that points to the files grub.conf and grub.cfg ...
2
votes
2answers
677 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 ...
3
votes
1answer
3k views

Best practice to link with WebDAV, as FollowSymLinks doesn’t allow to show symlinks

Symbolic links are a widespread practice on linux to make a ressource (e.g. directory) available in another location without having to maintain several copies of it. This is implemented in many ...