Questions tagged [symbolic-link]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
79 views

Apache: Don't log errors for certain non-existing files (regular file or symbolic link)

I want to prevent Apache from logging "File does not exist" errors for certain irrelevant non-existing files that are often requested, such as "apple-touch-icon-120x120.png". These ...
0
votes
1answer
32 views

Symbolic Link in Windows not behaving as expected

I have kind of a weird problem with the symbolic Links in Windows: First, a little background to this whole situation: We have a Domain Controller, where most of our data is stored, but we have two ...
0
votes
1answer
26 views

Can I give access to users from outside of the network via link which will need to be downloaded in limited time in linux FTP server?

I am new in Ubuntu Linux. Here is my task, Set up an FTP server. Add users to this FTP server and create new directories in their home directories. Give access to users from outside of network via a ...
0
votes
1answer
41 views

Symlink with execution permission and… arguments? [closed]

I am using Linux Mint 20.1, which is based on Ubuntu 20.04. My kernel is 5.4.0-60-generic. All the commands below are runned in GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu) I have seen ...
0
votes
0answers
45 views

Dereferencing symlinks within a tar file on extract

Can one extract the target of a symlink from within a tar file if one only knows the symlink? Kind of like cp -L, I'd like the result to be the target, even though I am requesting it by symbolic link ...
0
votes
0answers
22 views

Git ignore is ignoring sym.llinks?

In a laravel project I have a storage folder and inside it, I have an app folder (normally). So the full path is: /var/www/html/myproject/storage/app Now I have a file server and I wish to serve the ...
3
votes
2answers
551 views

How to configure NFS to resolve symbolic links on the server side?

My beard is solid grey now, and I long recall using NFS for all these decades and here I cite the original RFC that gives us the basis for the NFS we have today RFC1094. Of course, three decades and ...
0
votes
2answers
306 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
37 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 ...
2
votes
1answer
215 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
360 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
2k 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
1answer
247 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
58 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
252 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 ...
9
votes
1answer
9k 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
119 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
2answers
764 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
32 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
2k 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
425 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
1k 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
115 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
312 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
59 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
155 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
416 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?
5
votes
1answer
17k 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
224 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 ...
11
votes
1answer
28k 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
51 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
456 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
720 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 ...
5
votes
1answer
6k 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 ...
7
votes
2answers
16k 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
482 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
376 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 ...
4
votes
2answers
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
317 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
112 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
106 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
141 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
867 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
995 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
2 3 4 5