Questions tagged [symbolic-link]

220 questions
0
votes
0 answers

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?
0
votes
1 answer

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 target are the same. It checks timestamps and…
RobertB
  • 103
  • 1
  • 1
  • 4
0
votes
1 answer

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 as a local backup directory. I attempted to make a…
0
votes
2 answers

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 symbolic link, it works properly. Can I configure Apache…
jojman
  • 125
  • 1
  • 8
0
votes
1 answer

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 example, I have /foo/bar --> /other/place on the old…
0
votes
2 answers

Symbolic link network volume

Is it possible to create a symbolic link to a network volume? I have a lot of content stored on a machine that I would like to serve up with apache from another. Basically I want http://mysite.com/ to read HTML files from the machine with apache…
KevMo
  • 105
  • 4
0
votes
1 answer

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 symlinks. rsync -aL --delete production-2::www/html…
Bondt
  • 101
  • 3
0
votes
1 answer

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 version, but also for things like "Philips" linking…
0
votes
3 answers

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 indicate sym links, doesn't it? But ls -s…
Reb
  • 81
  • 1
  • 2
  • 6
0
votes
1 answer

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 VPS running ubuntu 14.04 I have apache2 setup and…
0
votes
3 answers

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 mount point. (say /foo is our mounted shared storage,…
Oblivious12
  • 31
  • 2
  • 8
0
votes
2 answers

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] [client 10.0.0.100:48843] AH00037: Symbolic link not…
packetie
  • 129
  • 6
0
votes
2 answers

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/mysql), but when i try to move them to our…
FrontSlash
  • 41
  • 1
  • 8
0
votes
2 answers

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 latest logfile somhow like this. ln -s…
0
votes
2 answers

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 the read-only mounted resource into (subdirectories)…
Dave
  • 101
  • 3