The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
50 views

Use .htaccess to redirect to a symlinked subdir of the web root?

I'm trying to use Envoyer.io to deploy my code and I'm running into some issues. This utility makes two folders, current and releases. current symlinks to latest release in the releases folder. So ...
-2
votes
1answer
31 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
votes
1answer
45 views

symlink to PHP file not handled as PHP

I have PHP5 installed on an Ubuntu 14.04 server and it works fine. I create a file called foo.php anywhere in the document tree and it gets passed to the PHP interpreter just as you'd expect. ...
-1
votes
2answers
51 views

Symlink in crontab, script not found [duplicate]

I'm running Debian testing and can't get a simple cron to run a symlinked PHP script. I've a php script in a subdirectory in my home folder /home/foobar/dir/script.php (which starts with the ...
0
votes
0answers
112 views

Resourcespace PHP DAM and external filestore (using symbolic link) on Ubuntu 12.04

I have been working on Ubuntu 12.04 and Resourcespace Digital Asset Management system (Open Source) and everything is ok when using local filestore folder as predefined Filestore. System setup and ...
0
votes
0answers
16 views

Symlink between Libraries don't work

My system is a POWER8 with KVM. On top of it, I am working on RHEL 7.0. I am trying to install Arpack. Since it's not included in the official repos, I found on a website a Fedora version and I took ...
0
votes
2answers
961 views

Should /etc/localtime be a symlink or a file?

When I first install a RHEL system, I select a timezone. Examining the /etc/localtime, I see that this is a copy of one of the files from /usr/share/zoneinfo. However, when I look into changing the ...
4
votes
3answers
820 views

Why doesn't ls -la show that current directory is symlink?

This is more of a curiosity, but I noticed /etc/httpd/logs is symlinked to /var/log/httpd, but when I am inside of /etc/httpd/logs and I do ls -la I see: drwx------ 2 root root 4096 Mar 21 14:58 . ...
1
vote
0answers
11 views

Which settings apply to a folder connected via junction?

Which folder permission and folder sharing settings apply to a a folder "connected" within another folder via junction, or symlink? Lets assume we have two folders residing in drive D:. D:\Main ...
1
vote
0answers
77 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
75 views

Is it safe to symlink complete /var directory

Is it safe to move complete /var directory in separate partition and create symlink to it? mv /var /mnt/storage ln -s /mnt/storage /var Distribution is Google Cloud CentOS Image I do not want to ...
3
votes
2answers
107 views

Is it possible to change a symlink's date/time in Windows?

We've archived old (more than 2 year old) files on our fileserver using FSRM to a different directory by moving and replacing the files with symlinks - the problem is that the symlinks have as a ...
0
votes
0answers
30 views

Web server directory structure with additional volume for media (in Amazon EC2)

I'm re-building my server (LAMP) structure. I have now only one root volume that includes all data. Now i'm adding (EBS volume) for userdata like media etc. so i can just backup that volume and not ...
0
votes
1answer
220 views

debian: follow symlink outside basedir giers error

I have several virtual host with each there folder. And a single shared folder: /home/website1 /home/website2 /home/website3 /home/shared_src Symlinks works fine inside each folder to a per website ...
0
votes
1answer
71 views

Process can't see recently created symlink on NFS

I have a small amount of old ubuntu desktops connected by a switch acting as a mini test cluster. The workers take commands from a master node via the SLURM queue manager. They share a data mount and ...
1
vote
1answer
4k 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
1answer
73 views

How can I copy files by creating symlinks?

I want to traverse a filesystem and copy parts of it to another filesystem by creating symlinks instead of copying anything. rsync would be ideal if it had something like a --local-copy-via-symlink ...
3
votes
1answer
135 views

using /bin/bash in a chroot environment - symlink or mount

A user connects via ssh. The user is also chroot-ed to their home directory. The goal is security. Since the user is chroot-ed, when they login /bin/bash is not found. Obviously the user needs ...
0
votes
0answers
112 views

Stop/Prevent NFS from resolving symbolic links in a share

I have an AWS instance that is running NFS. This is my exports file: /home/ec2-user/media *(rw,sync,no_root_squash,insecure) /home/ec2-user/var *(rw,sync,no_root_squash,insecure) Those directories ...
0
votes
0answers
221 views

IIS App Pool recycling unexpectedly

I am running IIS in a Parallels VM of Windows Server 2012 on a Macbook (development machine) and any time any of the files in the website change (CSS, HTML, doesn't matter), the App Pool is recycled. ...
17
votes
2answers
13k views

How can I zip/compress a symlink?

Is it possible and how can I zip a symlink from a linux shell?
0
votes
1answer
75 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 ...
4
votes
3answers
723 views

MySQL Not Reading Symlinks for Options Files my.cnf

I'm running MySQL 5.5 on Ubuntu. There is a my.cnf file in /etc/mysql/ where I would expect it to be. - Great! For debian installations of mysql it is recommended that you do not edit the my.cnf ...
0
votes
1answer
3k views

apache wont follow symlinks | 403 permission denied

im using Ubuntu 14.04, and got problem with apache configuration: i created a Symlink in /var/www/html (the apache DocRoot since Ubuntu 14.04) torwards /home/me/myWebDirectory cd /var/www/html ln ...
0
votes
2answers
51 views

If a web root directory has a simlink that points to a folder one-level up, does that pose a security risk?

Assuming a Linux/Unix system. Not asking about any particular server software, just wondering in general. I want to use this to include javascript libraries or things like that in multiple sites or ...
0
votes
0answers
243 views

Tomcat - Symbolic link doesn't display images

I have a Java web app deployed on Tomcat 5.5.27 on CentOS 6.4 For certain images, I want to create a symbolic link to another directory. The application is deployed in the ...
0
votes
1answer
411 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
75 views

Is there a way to create a 'trackable' link (~hard link) to a folder on Windows (Windows XP in particular)?

Lets suppose that there are: a folder and a junction point or a symlink to that folder When the original folder is moved to a new location, both the junction point and the symlink fail (point to ...
1
vote
1answer
106 views

How do I symlink one directory to a chrooted (jailed) directory?

'm trying to create a folder (directory) for a jailed user on my server that will allow him to access another folder outside of his jail. I'm trying to do this with symlink but all it does is create a ...
0
votes
1answer
317 views

Setup VSFTP to download file not symlink

I am running VSFTP. In a chroot environment I have the following setup: ftpdir/directory1 ftpdir/file1.txt ftpdir/links/linktodirectory1 -> ../directory1 ftpdir/links/linktofile1.txt -> ...
0
votes
0answers
67 views

Apache2 Serves Old Content After Symlink Change

When we deploy we create a timestamped folder in a versions folder. After it's done cloning from git we unlink the symlink, and create a new one to the new versioned folder. We reload apache (not a ...
0
votes
1answer
108 views

Mount a Symlink Directory to Document Root for Deployment

Trying to establish a secure multiuser environment with limited user permissions and automated deployment. The example has been made simple to express the idea. Docroot: ...
0
votes
0answers
63 views

What is the expected behavior of creating links on a Samba share from a Windows machine?

I've got a server with some stuff shared via Samba and a remote machine running Windows used to access the share. What is expected to happen if I create symbolic/hard links using standard Windows ...
0
votes
1answer
70 views

Copy symlink structure from one server to another

I have a symlink structure that I would like to copy from one server to another. I do not want to copy the files, just copy the symlink structure itself. I tried simply tarring the list of symlinks, ...
-2
votes
3answers
7k views

VirtualBox: issue with symlinks in shared folders [closed]

Some time ago there was a thread to exact the same problem: Can't create symlinks in virtualbox shared folders. Now it's closed (why?). So I start a new one, because I've got this issue now and cannot ...
1
vote
3answers
91 views

Is there a standard way to keep modified Linux configuration files separate and identifiable?

NOTE This is a copy of a closed question from Stack Overflow, and a constructive version, I feel, of a similar question in Server Fault. Often I need to edit many configuration files under /etc, ...
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: ...
0
votes
1answer
29 views

OEL Link a directory to another one

I have a Oracle Enterprise Linux Server that is serving a website at /var/www/html/, there is a directory inside /var/www/html/ called "Attachments". This directory is growing very big (around 17GB ...
1
vote
1answer
116 views

Software or script to find source of recursion/loop in directory?

As per title. I've noticed du and find commands can never finish but directory structure is very complex to search for loops etc by hand. I suspect there is one wrongly placed symlink there. Is there ...
0
votes
1answer
45 views

File access from CentOS new HDD by web user

I am using Centos 6.3 final and Apache 2.2.15. I recently installed a new HDD and created a symlink within my website's root directory so that my script can write big files to it and uses can access ...
0
votes
0answers
46 views

lighttpd on win32 - symlink equivalent?

I have lighttpd running on a windows 7 box. Is there a way to emulate symlink behavior? Say my document root is at D:\www\docs. And suppose that some files I want to have in my web server's file ...
0
votes
0answers
91 views

Trailing slash added when symlink matches directory name

I have a rule which rewrites my shop url (http://mydomain.com/shop) to a symlink (/var/www/shop). I've noticed that if the url subdirectory matches my symlink name (shop/shop), Apache enforces a ...
0
votes
1answer
129 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
31 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 . ...
2
votes
2answers
478 views

rsync invocation to replace symlinks pointing to source?

Currently I'm moving a big filesystem to a new server as the original fileserver is no longer able to handle the filesystem writes. To make this quick I made symlinks at the target filesystem ...
1
vote
1answer
257 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
1answer
124 views

How to rsync symlinks and their referents but preserving the links

I have the following filestructure in my src directory: en/ en/a/ en/a/file1 -> ../../en/mp3/file1-longer-name-a en/a/file2 -> ../../en/mp3/file2-longer-name-a en/mp3/file1-longer-name-a ...
0
votes
2answers
244 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
1answer
4k views

Nginx doesn't follow symlink properly

I'm trying to automate my deployment process and I'm having this strange issue. Every new version of my web app is placed in /var/www/releases/{timestamp}. After I execute git clone into that ...
2
votes
1answer
56 views

Can you make the /vz directory a symlink?

I have a OpenVZ VPS server with a 500GB hard drive and 240GB SSD. I'd like to have each VM's files stored on the SSD. Can I make their directory within /vz symlink to a directory on the SSD? There ...