The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
17 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
0answers
8 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 ...
0
votes
1answer
80 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
13 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
79 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
61 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
80 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
84 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
68 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
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
634 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
0answers
23 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
297 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
34 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
1answer
197 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
votes
5answers
3k 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
68 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
91 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
77 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
1answer
2k 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
72 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 ...
0
votes
0answers
238 views

Permissions issue using symlink on public_html folder

I have two accounts on a centOS server. The first account has a normal public_html folder, the second account has a symlink to the first account public_html folder instead of a normal one. The first ...
-1
votes
1answer
53 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
41 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
264 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
682 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
99 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
610 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" ...
2
votes
1answer
28 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
57 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
118 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
137 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
645 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
1k 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
229 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
593 views

htaccess rewriterules for multiple pages with parameters

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"> ...
2
votes
1answer
5k 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
164 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
1answer
340 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
2k 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 ...
3
votes
1answer
379 views

Dereference symbolic link in OS X?

In OS X, how can I dereference a symbolic link to a canonical file name? (i.e. one starting with /.) That is, I'm after the equivalent of GNU readlink's -f option: kapow:~$ greadlink -f ...
0
votes
1answer
49 views

Does soft link affects xml parsing and database process

I have a php code that does an xml parsing and inserts data into the mysql database. The code can process one xml file in an average of 18 minutes. Since I will be having lots of xml files and ...
1
vote
0answers
88 views

While using an ntfs smb share for mac users, do symbolic links and extended attributes work?

We have a majority of mac users but we'd rather support their file sharing using a Windows server with an ntfs drive, or at least a Linux server with ext3. We've had trouble, much trouble, utilizing ...
6
votes
2answers
4k views

symbolic link and filezilla over sftp

I'm pretty new to debian, and I'm trying to set up a server. I created a user which can only access to his folder /home/username (and its subdirectory). Now I want to use that user for the webserver ...
1
vote
1answer
389 views

tar on windows and symbolic links

It seems to me that tar on windows does not understand directory symbolic links - it treats them as an ordinary folders which in my case leads to infinite recursion. 7-zip has the same problem. Are ...
1
vote
1answer
560 views

Is there a way to disable symbolic links for nginx auto-indexed directory?

I would like to configure nginx to list and serve bulk files from a select directory (autoindex on option). However I worry that if a symbolic link will be accidentally placed in such a directory, ...
0
votes
1answer
86 views

Make partition B content appears like a folder on partition A

Is it possible using commands in Windows Server 2008 to make some folders on a partition B accessible as if they were on partition A? Example: D:\programb(some files) D:\programa(some files) should ...
0
votes
5answers
739 views

Massive symbolic link creation using for loop in bash

I just wondering myself if it would be possible to create massive amount of symbolic links using a for loop? For exemple, I have a lot of directory on my /tmp directory (I know, not recommanded) and ...
0
votes
1answer
521 views

Apache 2 Symbolic link not allowed or link target not accessible

While the title of this question matches an already asked question, in my case I already set Options +FollowSymLinks. The setup is the following: my hosting setup includes htdocs/ directory that is ...
0
votes
1answer
271 views

Symbolic Links and Multiple Mount Points

I am sure this may seem like a simple question, but I cannot seem to ask Google the correct question for the life of me. In short, I am having trouble understanding how symbolic links function when a ...