Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [symbolic-link]

The tag has no usage guidance.

0
votes
0answers
21 views

Why does mod_rewrite require FollowSymLinks or SymLinksIfOwnerMatch?

I would like to disable FollowSymLinks and SymLinksIfOwnerMatch options, but at the same time I do want to use mod_rewrite. I checked the source code of apache 2.4 and I found there is only a ...
6
votes
1answer
62 views

In Windows, is it possible to share a symlink as a network share?

Summary Is it possible to share a symlink to a network location as a Network Share in Windows? E.G: D:\folder\Shared\foo on \\server is shared as \\server\foo, where D:\folder\Shared\foo is actually ...
0
votes
1answer
109 views

403 Forbidden on files within symbolic link

I have a Laravel app hosted on Linux through GoDaddy. My directory root is 'public_html/public' I store my files in 'public_html/site/storage/app/public' Laravel recommends a symbolic link from the ...
2
votes
1answer
28 views

mklink folders from Windows server to AIX

We need to make a softlink to other server on AIX and when doing accordingly to guide in cmd occurs an error mklink /D \\10.0.0.10\folder C:\folder and it returns - The request is not supported ...
1
vote
1answer
81 views

MongoDB won't run if dbPath is symlinked

I have installed MongoDB 4.0.4 from the official repo. I followed these instructions. My OS is CentOS 7 and SELinux is in enforcing mode. If I use a dbPath value which is a symlink to another ...
1
vote
0answers
22 views

Automated Directory symlink

I have a situation with Autodesk Revit that Autodesk recommends "fixing" with SymLinks as outlined here. However, as mentioned in that thread, this manual approach falls apart when you have hundreds ...
0
votes
0answers
558 views

Sharing symbolic links on networked drive - is not accessible due permissions

We have several windows servers 2012 R2. And a file server provided by a third party, which provides a volume available thru CIFS/SMB. I want create symbolic folder on win server to "file server" and ...
0
votes
1answer
143 views

how to create fake symlinks when copying to CIFS share with rsync

So I have to backup lot's of data to a company server. And it creates a fair share of symbolic links. I'm on a Linux Machine, and the backup server is accessed via CIFS, which does not support ...
1
vote
0answers
539 views

Unable to create symbolic links on samba share when using SMB 2.0

Note that I initially found the following problem on a Synology DiskStation. To make sure I wasn't reporting a Synology-specific bug, I reproduced it on a Linux Server. My question below is based on ...
0
votes
0answers
55 views

Prevent local WordPress from deleting Plugins via Symlink

I run a local web server for developing plugins. My plugins reside in git repositories and I create symlinks to link them to the WordPress installations plugin folder. Sometimes it happens that I ...
0
votes
1answer
60 views

Issues with deploying PHP application by switching symlink

I'm seeing errors like these in the Apache error log immediately after deployment and there are HTTP 500 errors: PHP Fatal error: Uncaught RuntimeException: Failed to write cache file "/var/www/...
0
votes
3answers
47 views

have 2 folders on different disks behave as if they were 1 folder

I have a server with two 1TB hard drives. I have an uploads folder on /disk2/uploads, That folder has filled up the entire hard drive. The other disk is basically empty. I want to have a spill ...
0
votes
1answer
64 views

linux redhat + how to overwrite the existing link quiet mode

is it possible to overwrite the exiting link Without to get fail/error with standard output 1 ? ( like mkdir -p ) ls -ltr /hadoop lrwxrwxrwx. 1 root root 12 Jun 25 12:51 /hadoop -> /data/...
0
votes
0answers
242 views

Should I use symbolic links or hard links (and junctions) for web server?

I understand the differences between hard links (or junctions/soft links for directories) and symbolic links. Are there performance/security benefits for one or the other for web server usage?
6
votes
1answer
9k views

fail to enable mysqld service but after reboot the service is running on centos 7

After I installed, I run systemctl enable mysqld.service. Then, the output is: Failed to execute operation: Too many levels of symbolic links After this error, I reboot my service, and I check the ...
0
votes
1answer
140 views

Powershell - checking if a file is a Linux symbolic link

I'm migrating a NetApp NTFS based filesystem. It is mounted on both Windows and Linux boxes. My validation script in Powershell is walking the file system and doing various checks that the source and ...
0
votes
1answer
890 views

SQL Server support for symbolic links

Does SQL Server 2008+ support symbolically linked directories when making backups and restoring DBs? My own test made use of a mapped network drive, which I made it appear by symbolically linking it ...
7
votes
1answer
8k views

How to remove 'update-alternatives' links on Linux

Sorry for asking this, but I cannot resolve such a simple issue for a few hours: I made a typo mistake in update-alternatives --install /usr/lib64/R/lib/libRblapack.so libRblapack.so /usr/lib64/R/...
1
vote
0answers
48 views

mysql wont connect to symlinked socket when given full path, but connects with relative

So I'm super confused. I have a test build that started breaking because a mysql socket was attempting to be created in such a deeply nested folder that its file path name exceeded the 108 character ...
0
votes
2answers
228 views

How can I make Apache 2.4 recognize a .htaccess that is a symbolic link?

$ ls -l .htaccess lrwxrwxrwx 1 suseika suseika 74 Oct 1 03:35 .htaccess -> /home/suseika/some/path/to/the/actual/.htaccess Apache just ignores such .htaccess. If I create a file instead of a ...
4
votes
0answers
512 views

Denied permission of a symbolic link to a shared folder

I use Microsoft Remote Desktop to connect my Mac to Microsoft Azure VM. I follow this thread (apple.stackexchange.com/a/140506/20747) to share a Mac folder named Music with the VM. It works fine, here ...
4
votes
1answer
3k views

mklink errors out with “The device does not support symbolic links”

I need to store symbolic links in a network folder. Trying this: mklink \edgeserver\public\test.pdf \fileserver1\files\test.pdf and getting an error: The device does not support symbolic links ...
4
votes
2answers
8k views

Remove symlink with Ansible

I have a dead symlink named dead_symlink under the directory /usr/local/bin When Ansible check the file it reports it exists - stat: "path=/usr/local/bin/dead_symlink" register: dead_symlink_bin -...
0
votes
1answer
386 views

Using rsync to consolidate symlinks into directories

I have a large amount of data to copy to a new server. On the current server there are a number of symlinked directories which I would like transformed to real directories on the new server. For ...
0
votes
1answer
133 views

rsync -a and -L conflict?

I'm working on multiple servers and need to copy a large amount of data from one (production) to another (staging). The source server (production) has a NAS for shared files, that are accessed via ...
3
votes
1answer
944 views

Why won't apache allow symbolic links, with SELinux?

I have a simple scenario: I want to symlink /home/leonard/apache/sandbox/markdown to /home/leonard/github/markdown-editor, so that the markdown-editor can be viewed from my browser. I setup the link ...
0
votes
1answer
175 views

How to avoid symlinked files shared by Samba from looking like duplicate files (different inode numbers)?

I often have directories on a Linux server where symbolic links are used for alternative names for subdirectories or files (e.g. maintaining a "latest" symbolic link to a directory with the latest ...
4
votes
0answers
793 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 great....
0
votes
3answers
100 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
26 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
81 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: C:?\Volume{5c286810-f966-......
1
vote
1answer
71 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
968 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
490 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 D:\...
1
vote
1answer
877 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
572 views

Can't follow symbolic link in apache2

I have apache2 running on Ubuntu 14.04.2 LTS. The problem is, I keeps getting the following error (tail -f /var/log/apache2/error.log) [Wed Jun 10 18:18:56.114203 2015] [core:error] [pid 14802] [...
0
votes
2answers
806 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 /srv/...
1
vote
2answers
201 views

Symbolic links changed to SYMLINK on Windows Server

We have been using symbolic links extensively to archive historic files. An automatic script would create symbolic links regularly based on certain criteria. Users don't experience inconvenience as ...
-2
votes
1answer
350 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
74 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
678 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
663 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
604 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
633 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 ...
7
votes
1answer
6k 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
79 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 to ...
9
votes
1answer
3k views

Preserving existing destination symlinks with rsync

I am using rsync(1) 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 ...
1
vote
2answers
9k 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
625 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
504 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 ...