Questions tagged [symbolic-link]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Is there any risk to soft-link a file in a core folder to a web file?

Say I have a web path like ~/webroot/file.js And I would like to maintain the file at ~/server/file.js and create a soft link to ~/webroot/file.js. Is there any risk this link might cause? I am ...
0
votes
2answers
74 views

Can you create a symlink for a file to multiple targets in bash? [closed]

I am looking to create a symlink for a file (E.g., /var/log/cron/cron.log) which will have a symlink to both /proc/1/fd/2 and /proc/1/fd/1. Is this possible?
0
votes
0answers
29 views

Working Nginx-PHP-FPM setup; then switched from RAID1 to RAID10, and now setup doesn't work

Converted a RAID 1 volume to RAID10. The file system appears to be exactly the same on the new RAID 10 volume as the previous RAID 1 volume. For some reason PHP-FPM won't take a symbolic link to ...
1
vote
1answer
42 views

Why am I getting different results using mklink and New-Item -ItemType SymbolicLink?

So I'm trying to create links with relative path with PowerShell, but I don't know why I'm getting differents results, I'm quite new with the command line in Windows, sorry if this is a dumb question. ...
1
vote
1answer
189 views

Other virtual drive formats for linking to physical disk device or to archive content

It is known that you can link to physical disk device through VMDK virtual drive format. It works on Mac*, Lin*, Win* with VirtualBox or VMware ( here solution with VBoxManage internalcommands ...
0
votes
1answer
358 views

apache: “Symbolic link not allowed or link target not accessible” on another filesystem only

I have a a file in remote directory which is moulted to apache DocRoot tree. When I try to download a file (not write) from that dir I get 403: AH00037: Symbolic link not allowed or link target not ...
0
votes
0answers
46 views

How to attach a sql db with blobs using a shared folder?

I use the following query for attaching a sql db: CREATE DATABASE [myDb] ON (FILENAME=N'C:\myDb\myDb.mdf'), (FILENAME=N'C:\myDb\myDb_log.ldf'), (FILENAME=N'C:\myDb\FILESTORE') FOR ATTACH In ...
0
votes
1answer
143 views

Debugging how symbolic link is getting broken in ubuntu?

I have a symbolic link of the form ubuntu@platform1:~$ ls -lrt total 28 drwxr-xr-x 4 ubuntu ubuntu 4096 Mar 2 15:02 deploy lrwxrwxrwx 1 ubuntu ubuntu 14 May 25 18:27 logs -> /var/log/arkin ...
2
votes
1answer
35 views

Calculate folder size without counting links

I need to calculate the size of "real" files created under a folder (and its sub-folders) on an NTFS drive, where "real" is all files that are not present because of hard/soft-links, junctions etc. ...
0
votes
0answers
100 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
4k 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 ...
2
votes
1answer
86 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 ...
2
votes
1answer
429 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
28 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
1k 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
303 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
792 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
95 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
177 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
55 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
105 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
365 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
14k 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
218 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
2k 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 ...
9
votes
1answer
18k 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
50 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
386 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
650 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
5k 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 ...
6
votes
2answers
12k 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
464 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
266 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
2k 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
251 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
1k 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
105 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
94 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
108 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
1k 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
751 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
1k 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
772 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
1k 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
278 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
496 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
77 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
784 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
792 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
2 3 4 5