Questions tagged [symlink]
168 questions
1
vote
1 answer
Is there a way to create a 'trackable' link (~hard link) to a folder on Windows (Windows XP in particular)?
Lets suppose that there are:
a folder and
a junction point or a symlink to that folder
When the original folder is moved to a new location, both the junction point and the symlink fail (point to an orphaned location). The failure of the link is…

colemik
- 759
- 1
- 12
- 24
1
vote
1 answer
Mount a Symlink Directory to Document Root for Deployment
Trying to establish a secure multiuser environment with limited user permissions and automated deployment. The example has been made simple to express the idea.
Docroot: /var/www/site/staging/current/public
Deploy user site-staging:staging
Home…

csi
- 1,555
- 7
- 23
- 42
1
vote
3 answers
Is there a standard way to keep modified Linux configuration files separate and identifiable?
NOTE This is a copy of a closed question from Stack Overflow, and a constructive version, I feel, of a similar question in Server Fault.
Often I need to edit many configuration files under /etc, however, I don't want these changes to get lost when…

Yuval
- 121
- 3
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…

csi
- 1,555
- 7
- 23
- 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 ->…

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 ->…

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…

NickC
- 2,373
- 13
- 41
- 55
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…

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…

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?

Alex
- 1,828
- 4
- 31
- 52
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…

Steve Robbins
- 1,932
- 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…

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…

Jaffa
- 238
- 4
- 10
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…

DatsunBing
- 459
- 4
- 8
- 17