Questions tagged [symlink]

166 questions
5
votes
1 answer

Shared Cygwin Install

I'm attempting to set up OpenSSH on a bunch of Windows Server 2003 machines in an automated fashion. My goal is to be able to do so using a single version of Cygwin installed on a network drive instead of manually installing it on each machine. I…
dpetters
  • 53
  • 4
5
votes
2 answers

How to symlink folders and exclude certain files

I'm not a server guru (unfortunately) but have a decent knowledge of linux & bsd. I'm trying to symlink multiple instances of HLDS (game server) but need to exclude certain folders & config files to achieve this properly. I need to do it this way as…
Jarrod White
  • 51
  • 1
  • 2
4
votes
1 answer

Symlinks look like regular files on samba shares

Symlinks on my samba share aren't behaving the way I want them to – specifically, the links look like duplicate regular files to the client machine. This used to work (i.e. symlinks on the server looked like symlinks on the client), but at some…
Justin Goeres
  • 63
  • 2
  • 4
4
votes
1 answer

Moving \inetpub\ for IIS 8.5

There are many sources that say that the %SERVERROOT%/inetpub/ must never ever be deleted or moved. And yes, I can agree with this, as updates to IIS update that directory blindly -- they don’t actually query the system to see if the IIS inetpub…
René Kåbis
  • 191
  • 1
  • 2
  • 11
4
votes
2 answers

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 filedate the date the script ran - nothing to do with…
opg
  • 35
  • 2
4
votes
2 answers

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 tried chmod'ing my life away for the past few…
Levi Roberts
  • 201
  • 1
  • 2
  • 9
4
votes
1 answer

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 directory I make a symlink to /var/www/current. Then I…
user1630391
  • 143
  • 1
  • 1
  • 4
4
votes
1 answer

Symlink - Permission Denied

I'm facing an interesting problem with plenty of Permission Denied outputs when using SymLinks Linux: Slackware 13.1 Directory with Symlink: root@Tower:/var/lib# ls -lah drwxr-xr-x 8 root root 0 2012-12-02 20:09 ./ drwxr-xr-x 15 root …
John Smith
  • 41
  • 1
  • 2
4
votes
1 answer

Absolute symlink-resolving pwd

I'm sitting in front of a Linux shell. I want to do something like pwd, except I want an absolute answer, i.e. I want any symlinks to be resolved to their true path. How can I do that?
Ram Rachum
  • 5,011
  • 6
  • 33
  • 44
4
votes
1 answer

Question Mark on symlink

Why do I get a "?" mark at the end of a symlink sometimes? E.g. lrwxrwxrwx 2 root root 0 1969-12-31 19:00 xyz -> abc?
jldupont
  • 1,779
  • 4
  • 23
  • 27
4
votes
1 answer

Rsync: dealing with absolute symlinks

Having read through the rsync manpage, I can't see any way for rsync to automagically transform absolute symlinks between machines, i.e Server A file -> /home/username/path/file Server B file -> /home/differentusername/path/file Any ideas (bearing…
Andrew Bolster
  • 326
  • 2
  • 11
3
votes
2 answers

How to copy the target file vs the symlink

I have files with symlinks as shown below : link_AB91 -> file_12857.xml link_XY99 -> file_102856.xml link_EF02 -> file_96843.xml In my script I reference the link not the actual target file. However, when I perform the copy I want the actual file…
souser
  • 187
  • 1
  • 3
  • 8
3
votes
1 answer

How do I grant users permission to create hard links (using GPO or registry entries)?

I'm working in an AD domain with one DC running Windows Server 2012 R2, and clients running mostly Windows 7 Professional. I need to be able to grant certain user groups the permission to create hard links, hopefully via mklink /H SINK SOURCE. I've…
3
votes
2 answers

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 timezone on a system, I see a split between copying…
Tim Timmerman
  • 49
  • 1
  • 3
3
votes
1 answer

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 shell commands. Shell access can be provided…
csi
  • 1,535
  • 7
  • 22
  • 42
1
2
3
11 12