Questions tagged [symlink]
168 questions
1
vote
2 answers
windows symbolic file links arn't followed through network access
I have a server with win7 and a big share on
C:\share
In this share there are many symbolic links to files on other local disks like
C:\share\file.txt(symlink) <-> D:\file.txt
I can access the file over:
C:\share\file.txt
\server\share\file.txt
but…

fpdragon
- 141
- 1
- 3
1
vote
2 answers
Symlinks for web pages
I have my web server set up running multiple sites and host them all in ~/sites/, outside apache document root (~/www), as follows:
+-~/
+-sites/
+-project1/
| +-system/
| +-application/
| +-public_html/
| +-images/
| …

Matt
- 322
- 2
- 3
- 12
1
vote
2 answers
Automatically create symbolic links in Linux to files in one folder when a file in that folder is created and edited
I have 2 folders on my Linux OS, Apache 2 Webserver.
Call them folderA and folderB . They are have following paths
site1/public/sites/all/folderA
site2/public/sites/all/folderB
I would like that whenever a file is added/edited to folderA, a symlink…

Loveleen Kaur
- 115
- 7
1
vote
1 answer
Softlinking /home to a new folder on a big volume
I have a new large volume I would like to create a folder in called home to serve the users home folders, so the location would be /bigvolume/home. Would creating a softlink (ln -s) from /home to /bigvolume/home cause any problems?

specto
- 218
- 2
- 9
1
vote
2 answers
How do I make it so that I can run this program anywhere?
java -jar yuicompressor-2.4.2.jar
~/src/yuicompressor-2.4.2/build$ ls
yuicompressor-2.4.2.jar
Usually, I have to be in that directory to run this command. Is there any way I can set it so that I can run this command anywhere in my box?

Alex
- 8,471
- 26
- 75
- 99
1
vote
1 answer
virtual concatenation of two certificate files
mongod requires a certificateKeyFile that is a combination of a certificate and a private key.
certbot manages quarterly renewals of tls certificates that cannot be valid for more than 3 months. the result of a successful certbot renewal run is the…

grenade
- 312
- 1
- 3
- 8
1
vote
1 answer
How can I set specific directory for different users in proftp?
Currently, when user A logs in proftp, he comes at his home directory /home/A, when user B logs in proftp, he comes at his home directory /home/B. I want to let user A come at /dir1 and let user B come at /dir2, how can I do in proftpd's…

peter
- 93
- 13
1
vote
0 answers
NGINX file server with symlinks
This is a bit of a beginner question, but I'm trying to make Nginx serve a static file server that contains symlinked folders. Eg, the root directory might contain directories A and B, which each contain symlinks to one other, eg A/B -> B and B/A ->…

ak0000
- 111
- 3
1
vote
1 answer
Why doesnt creating a sym link from python to python 3 work?
My goal is to make sure that python refers to python3 in my mac terminal. What i have tried so far are the following two attempts
1. Adding an alias in .zshrc
alias python=python3
after re sourcing my .zshrc file this allowed me to type python…

Nicola Pedretti
- 204
- 5
- 11
1
vote
0 answers
Subdomains as subfolders and symlinks
I have a main wordpress and several subdomains. They were created in the usual way - I added subdomains to the panels (Fastpanel), and in the subdomain folders I added symbolic links to the files of the main domain. It works perfectly as expected.…

Sergey Pervushin
- 123
- 1
- 3
1
vote
0 answers
vsftpd won't allow user to follow symlinks and to write in the destination folder
Related to the questions :
How to allow a vsftpd to write to a folder other than default /files?
(The answers are not what I need)
and Allow local users to access /var/www folder in vsftpd
(I don't understand the answer, I don't know how to do what…

Alain Reve
- 11
- 2
1
vote
1 answer
How do i create Symlink to /var/log/myapp to another mount?
I am not very familiar with unix terminologies but I have a requirement where I have installed Gitlab on one of my RHEL server. By default the installation and log goes to /var/opt/gitlaband /var/log/gitlab respectively.
Gitlab doesn't recommend to…

mikita agrawal
- 111
- 1
0
votes
2 answers
Can you create a symlink for a file to multiple targets in bash?
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?

leeman24
- 147
- 1
- 9
0
votes
0 answers
Symbolic link set but not changes until reboot?
I wrote a deployment script and in final step I have following code:
ln -sf /link/to/latest/release symlink/to/current;
I try to set the symbolic link or update if it exist, theoretically it works and with ls -l I see that correct directory was…

samius polis
- 101
- 1
0
votes
0 answers
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 condition that does not allow RewriteEngine On, when the…

Jenicek
- 1