The tag has no usage guidance.

learn more… | top users | synonyms

92
votes
8answers
139k views

How do I create a symbolic link in Windows?

Windows Vista added the ability to create symbolic links to files and directories. How do I create a symbolic link and what are the current consumer and server versions of Windows that support it?
3
votes
1answer
989 views

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 -&...
4
votes
2answers
16k views

Setup symbolic link where users can access it with FTP

I have a folder on a server where a client of mine has a bunch of folders that they upload images and what not for a site, I do a symbolic link to those folders to the root of the website. This way I ...
9
votes
1answer
6k views

How do I assign an SELinux label to a symlink with semanage so it persists after a relabel?

My apache DocumentRoot /var/www is a symbolic link to another path. The target has the appropriate file context label (httpd_sys_content_t) so that apache can read it with SELinux enabled. However, ...
8
votes
4answers
5k views

How do I find and report on broken symbolic links automatically?

As tidy sysadmins, we like to ensure that the little things are just as well covered as the big things (when time permits). One of these things is ensuring that our systems aren't full of broken ...
1
vote
1answer
6k views

Following Windows SymLinks in network shares

I have a shared folder, let's call it e:\folder2\ 'Everyone' has read permission to the share and file system. From a command line, with pwd at e:\folder2\ I ran mklink /D slF1 e:\folder1 ...
3
votes
1answer
2k views

How do you find the target of a symlink created with mklink

Once a symlink is created using mklink, is there any way to find the link target, other than parsing the output of dir command ? As an example, junction.exe will return the substitute name when ...
3
votes
1answer
258 views

Is there a way to make Apache follow symlinks for the header content-type?

If I serve a file named image.jpg the header content-type is sent as image/jpeg, but if I make a softlink named image that points to image.jpg the content-type is sent as text/plain. Is there a way ...
1
vote
1answer
370 views

Mount --bind versus symlinks

Linux server /www/website directory is my html directory Want users to ftp to /user/website/public_html directory which is chrooted and limited to ftp only access I currently accomplish this via ...
0
votes
1answer
1k views

how to create a simlink to a directory?

this question is coming from my other question and I need help to make this work. I was trying out for some time and couldn't make it work. I have a directory inside redmine instalation /home5/...