The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
528 views

Apache 2 Symbolic link not allowed or link target not accessible

While the title of this question matches an already asked question, in my case I already set Options +FollowSymLinks. The setup is the following: my hosting setup includes htdocs/ directory that is ...
0
votes
1answer
284 views

Symbolic Links and Multiple Mount Points

I am sure this may seem like a simple question, but I cannot seem to ask Google the correct question for the life of me. In short, I am having trouble understanding how symbolic links function when a ...
1
vote
1answer
291 views

cPanel FTP account sym link permissions [closed]

I would like to give a potential developer temporary access to some of my projects. I have almost everything in its own subdomain, and each directory is a sibling to my public_html directory. It looks ...
1
vote
2answers
357 views

Serving only certain files from a directory to users on IIS7

I'm have a need to show the most up to date version of a certain file in a directory to users who access a folder on my site (lets call this folder logs). I can't just move the file into the folder as ...
1
vote
1answer
1k views

script not run after reboot from /etc/rc3.d

I create symbolic link to the file - /etc/rc3.d/platform.bash from /var/tmp/platform.bash ln -s /var/tmp/platform.bash /etc/rc3.d/platform.bash script exist under /var/tmp : ...
3
votes
1answer
4k views

Virtual hosts & symbolic links, why can't I set DocumentRoot to a symbolic link?

I have recently setup Capistrano on my server and it works great. I changed my virtual hosts to point to the symbolic link created by Capistrano. My virtual hosts file: <VirtualHost *:80> ...
0
votes
4answers
180 views

Tar dereference only 1 level

I use the following pseudo-script to create a TAR of my installed software mkdir tmp ln -s /path/to/app1/bin tmp/app1 ln -s /and/path/going/to/the-app-2 tmp/app2 tar -c --dereference ...
0
votes
3answers
319 views

Symbolically link all JPGs in a directory tree to a single directory [closed]

I have a series of directories, and images contained within: /Volumes/library/Originals/2012/2012-05-13 Event/filename.jpg /Volumes/library/Originals/2011/2011-03-11 Event/filename.jpg ...
3
votes
2answers
666 views

Linux disk usage analyser that acts like symlinks are real files

I am using git-annex, an extension to the DVCS git, which is designed for handling large files. It makes heavy use of symlinks. The actual large files are moved to the .git/annex directory and the ...
0
votes
1answer
163 views

Re-creating 'lost' symbolic links

Due to copying some files from Linux to Windows XP and then to Linux again, the metadata or whatever that turns some files into a symbolic link has been lost. So for example I have a file called ...
6
votes
2answers
1k views

How do I find broken symlinks automatically on Windows?

Not sure if this is bad style, but I'm asking this question here because I couldn't find the answer elsewhere, and then I worked out one solution on my own. I'd be interested to see other people's ...
1
vote
0answers
219 views

Permissions within Windows symlink to a Samba share

I have a Samba shared folder on an Ubuntu box which I can access from my Windows 7 PC and within which, as a non-administrator Windows user, can create and update files and folders. However, when I ...
2
votes
1answer
2k views

NFSv4 “Too many levels of symbolic links” error

Both machines are running Ubuntu 12.04 Remote NFSv4 Client $ ls /mnt/storage/aaaaaaa_aaa/bbbb/cccc_ccccc gives this error: ls: reading directory .: Too many levels of symbolic links How can I fix ...
2
votes
2answers
99 views

How to delete directories without symlinks in one folder

I have this folder structure: build.1 build.2 build.3 build.4 current -> symlink to build.4 previous -> symlink to build.3 I am running debian, what is the proper way to delete every build ...
1
vote
1answer
53 views

missing symbolic link

I have two directories with multiple directories and files Lets say that directory A has some symbolic links to other directories and files and directory B is missing them. What can I do to copy those ...
1
vote
1answer
627 views

How do I create a symbolic link to a UNC Path in Windows XP

I have a workstation with Windows XP and I need to make a symbolic link or mount a UNC Path like a local Drive. I need the same behavior that produces M-Daemon tools when you mount an .iso File but ...
1
vote
1answer
42 views

Find linux soft link

We have an ExpressionEngine installation. The CSS templates are stored in a directory called /na_cms/expressionengine/templates/default_site/c.group When EE parses these out, the path becomes /css/c ...
2
votes
0answers
714 views

Giving Select Windows Domain Users Symbolic Link Privilege

I would like to setup select users on our domain to have the ability to create symbolic links on local NTFS drives and network shares without needing to run as Administrator, as part of an application ...
5
votes
2answers
361 views

Under what circumstances would a junction point be more appropriate than a symbolic link?

Symbolic links were introduced an incredibly long time ago in Windows, yet I still encounter a large number of systems that use junction points. I know that symbolic links afford functionality not in ...
3
votes
1answer
975 views

How do I rearange a file tree and then export it over NFS?

I've got a backup server that stores incremental backups in a tree like this: /backups hourly.0 server 1 server 2 hourly.1 server 1 server 2 hourly.2 ...
17
votes
3answers
20k views

How to override/update a symlink?

I am trying to use symbolic links. I did some reading and found the following commands: Creation -> ln -s {/path/to/file-name} {link-name} Update -> ln -sfn {/path/to/file-name} {link-name} ...
2
votes
1answer
213 views

Alias if directory doesn't exist

I have a bunch of clients that have different site designs but all run on the same backend CMS. They all share a common admin theme which is located in /home/public/skins/admin - which each client has ...
1
vote
1answer
165 views

ln -sf no longer works

I have a folder with the following contents. I am wanting to change the symbolic link in a single atomic transaction without deleting it. drwxr-xr-x 9 root root 4096 Apr 10 13:47 2012-03-19 ...
4
votes
5answers
2k views

Can't delete symbolic link

I accidentally reversed the parameters of my ln and called: ln -s my_link my_dir where my_dir already existed and my_link did not. I deleted my_dir, but am unable to delete my_link. If I ls -l ...
0
votes
1answer
77 views

Symbolic linking of client (Mac) directory to server (Linux) directory

How can I link a directory on a Mac to a remote directory on a Linux server? The Linux server has Samba and SSH available, and I can add other services if necessary
0
votes
1answer
3k views

Sharing a symlinked (`mklink /d`) directory via SMB?

I have a Windows 7 amd64 box where one directory is shared: local path is d:\drop\ remote path is \\aloism\drop from SMB point of view, Everyone has Read and Write permission ACLs for the folder are ...
3
votes
1answer
227 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 ...
0
votes
1answer
435 views

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 ...
1
vote
0answers
307 views

Root Relative Symbolic Links Not Resolving Properly (Windows)

According to the MSDN Documentation on Creating Symbolic Links, root relative symbolic links (those starting with "\") should resolve relative to the drive that the symlink is accessed from. I have a ...
3
votes
3answers
329 views

Prevent 'cd' remembering symbolic links traversed

Say you have directory ~/mytool that softlinks to /usr/local/mytool. Then cd mytool leaves your current directory as ~/mytool, which may cause scripts to behave incorrectly. Is there a way to avoid ...
1
vote
2answers
380 views

CentOS: command not linked/working

Recently installed CentOS and many commands are not working: [root@zrebirth zeno]# quotacheck bash: quotacheck: command not found [root@zrebirth zeno]# adduser bash: adduser: command not found ...
4
votes
1answer
171 views

Make folders on multiple drives appear in a single folder without using symlinks

I have directories sorted by date on different physical drives: /mnt/drive1/2000 /mnt/drive1/2001 /mnt/drive2/2002 /mnt/drive3/2003 /mnt/drive4/2004 /mnt/drive4/2005 /mnt/drive5/2006 How can I get ...
1
vote
1answer
49 views

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: ...
1
vote
2answers
2k views

Can I make a Symbolic Link in Windows 7 (or 2008) between 2 network locations?

I would like make a symbolic link in Windows (7 or 208 between 2 locations on a file server (Netapp): mklink /D \server\share\some\link \server\share\some\target\path Is this possible? I can't ...
1
vote
2answers
3k views

Apache does not show and does not follow SymLinks

On Linux Fedora 15, Apache doesn't follow symlinks, and they did not show in directory index... Can you help me why? Just to mention that in httpd.conf I do have : <Directory /> Options ...
4
votes
3answers
282 views

Is it an unsafe practice to symlink /etc conf files?

To manage the configuration of a server, I keep some configuration flies (located in /etc) under version control (in the home folder) and then symlink to them from their /etc locations: ...
0
votes
2answers
79 views

Multiple sites using same .htaccess

I want to lock down a number of different sites using an htaccess file. All of the sites will be restricted to the same IP addresses. I was thinking of having 1 .htaccess and create a symbolic link to ...
11
votes
3answers
445 views

What are possible drawbacks of an IIS 7 site having an NTFS junction as a web root?

I am trying to come up with a way to deploy ASP.NET code with as little site disturbance as possible. One thought was to set up the site to be served from an NTFS junction c:\www\example.com where ...
2
votes
2answers
328 views

execute cgi script from directory that is a symbolic link

I have a script that is available through Apache that modifies parent directory. Ew. mybin/a.pl, which modifies ../data/ directory. I would like to create various aliases eg. localhost/www/mybin/a.pl ...
0
votes
2answers
564 views

How do I see and delete an 'invisible / orhpaned' symbolic link?

There seems to be an invisible symbolic link on my system. First, I go to the /var/www directory and it shows nothing: # var/www# ls -la total 0 Next, I create a symbolic link and it is created ...
-1
votes
1answer
144 views

Apache .htaccess set different password for symlink

I got a domain with a website that can be reached by two urls, mydomain.com/pathA and mydomain.com/pathB. But they are actually the same directory on the server. It contains a MediaWiki ...
3
votes
2answers
3k views

how to create symbolic link (ln) between two partitions

I have two partitions on my Ubuntu 10.04.3 server. partition 1: /mnt/storage/ partition 2: /var/www/myweb/ now when i run the following command $ ln /mnt/storage/sourcefile.txt ...
7
votes
4answers
3k 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 ...
2
votes
1answer
2k views

Moving postgres data folder on NFS drive. Is it better to symlink, reinit cluster, or modify init.d script?

I want to move my postgres data folder to an NFS drive but I'm not sure what would be the best way to do it. I've got three options in mind: According to Postgres Documentation, one method would be ...
1
vote
2answers
1k views

MySQL won't start after creating sym link to data directory

I've moved all the stuff in /var/lib/mysql to /500gb/mysql, and created a symbolic link from one to the other. I then did a chown mysql:mysql and chmod 777 (with both -h and -R as necessary) to both ...
1
vote
2answers
5k views

Fixing Shared PCRE Library on CentOS

This is less a question about PCRE, and more a question about updating shared libraries. The distribution of CentOS I'm running only allows for yum upgrades to version 6.6, or somewhere similar. I'm ...
2
votes
3answers
1k views

Permission denied for symlink to executable in nfs mounted directory with the sticky bit enabled

We have an NFS export for any of our users to install and maintain useful software for the network mounted at /public on our clients. On the NFS server, this directory is world writable with the ...
0
votes
3answers
1k views

Performance & Security Factors of Symbolic Links

I am thinking about rolling out a very stripped down version of release management for some PHP apps I have running. Essentially the plan is to store each release in /home/release/1.x etc (exported ...
0
votes
1answer
124 views

Relocate symfony config directory

I have a new symfony project. In order to satisfy Debian's FHS I want to put the project's config/ directory under /etc and create a symbolic link pointing from the normal config/ location to the ...
0
votes
1answer
90 views

mod_symlink or something to deliver files from outside the doc root?

I'm wondering if there is an apache mod that can handle delivering files outside of the document root? My specific example is that I would like to, in my vhost config if possible, rewrite ROBOTS.txt ...