Questions tagged [symlink]
166 questions
1
vote
1 answer
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
sudo mount --bind /www/website…
![](../../users/profiles/71804.webp)
csi
- 1,535
- 7
- 22
- 42
1
vote
1 answer
How to rsync symlinks and their referents but preserving the links
I have the following filestructure in my src directory:
en/
en/a/
en/a/file1 -> ../../en/mp3/file1-longer-name-a
en/a/file2 ->…
![](../../users/profiles/162689.webp)
Gavriel
- 229
- 2
- 10
1
vote
2 answers
Relative symlink within a symlinked directory
I have an installed application in /home/appuser/app/ In that directory there is a separate directory confs for the config files, which is symlinked to ../app-confs, like so:
lrwxrwxrwx 1 appuser appuser 19 Mar 25 15:22 confs ->…
![](../../users/profiles/104979.webp)
ddofborg
- 223
- 1
- 3
- 7
1
vote
1 answer
Windows Server 2008 and Directory Symlinks
I have a shared Directory on my TeamCity Server, C:\Work which is about 9 GB and I want to move it to a separate Disk E:. When I copy the C:\Work to E:\Work and do mklink /D to make a symlink, the target folder is shared but the link does not…
user160910
1
vote
1 answer
Creating a merge of two directories using symlink on Windows
Is it possible to combine two separate directories into the same place on Windows using symbolic links?
Something like this:
mklink /J c:\Merged c:\Data\Dir1
mklink /J c:\Merged c:\Data\Dir2
Which doesn't actually work because C:\Merged cannot be…
![](../../users/profiles/123729.webp)
NickC
- 2,313
- 13
- 40
- 52
1
vote
1 answer
pure-ftpd symlink not working
I've got a setup where pure-ftpd is allowing symlink.
what works
/var/www/some_website/symlink_to_logs works and resolves to /var/log/some_website_logs/
(this is to show that symlinks are allowed and resolved). Also, creating symlinks to other…
![](../../users/profiles/144121.webp)
Bogdan
- 113
- 5
1
vote
2 answers
Getting 403 on apache with php on fedora 17
I put the projects on ~/public_html/project and create a soft-link in /var/www/html/project which point to ~/public_html/project.
my /etc/httpd/conf/httpd.conf is shown below
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 60
KeepAlive…
![](../../users/profiles/143739.webp)
Js Lim
- 111
- 5
1
vote
1 answer
Software or script to find source of recursion/loop in directory?
As per title. I've noticed du and find commands can never finish but directory structure is very complex to search for loops etc by hand. I suspect there is one wrongly placed symlink there. Is there a tool to help find the source of problem?
![](../../users/profiles/93816.webp)
Alex
- 1,768
- 4
- 30
- 51
1
vote
1 answer
Dreamweaver not recognizing symbolic link as directory
I have this directory
drwxrwxr-x 6 awdfiles pasgroup 4096 Jan 31 17:20 awdfiles
Which I want to access via another FTP connection. The user is part of the pasgroup
I traverse to the root html directory of my desired…
![](../../users/profiles/85879.webp)
Steve Robbins
- 1,904
- 5
- 23
- 26
1
vote
2 answers
Apache 403'ing on symlinks created by root but not symlinks created by normal user
Like the title said, for some reason I am getting a 403 when apache tries to follow a symlink created by the root user. For example:
This works
lrwxrwxrwx 1 repxadmin psacln 15 Jan 25 02:09 httpdocs -> assets/app/web
But this doesn't
lrwxrwxrwx…
![](../../users/profiles/108225.webp)
Steven
- 113
- 5
1
vote
1 answer
Create link with right owner / group
I have a git-daemon accessed through ssh. All repositories are in /srv/git.
I have some other projects saved on a exfat disk, so I want to create a symbolic link from that disk to /srv/git.
For example, I have /mnt/Medias/Projects/Defi\ H.git so I…
![](../../users/profiles/107842.webp)
Geoffroy
- 218
- 4
- 10
1
vote
1 answer
What's the best way to atomically add files to a web directory?
So I have a strange question, but I'm working on a script to deploy a PHP codebase and want to see if something like this is possible:
I have a directory that Apache uses as a DocumentRoot:
/home/www/
We have a PHP app that must add several files…
![](../../users/profiles/837.webp)
mmattax
- 1,284
- 7
- 19
- 30
1
vote
1 answer
How to: FTP access to add-on domains in a hosted setup
I have a business grade hosting account with Webmasters. The web server is Apache. From time to time I setup what Wembasters call Add-on domains.
My problem is that I can't give Add-On domain users ftp access to their own web site. Is there a way…
![](../../users/profiles/78079.webp)
DatsunBing
- 459
- 4
- 7
- 17
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…
![](../../users/profiles/64224.webp)
fpdragon
- 131
- 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/
| …
![](../../users/profiles/27558.webp)
Matt
- 322
- 1
- 3
- 11