The tag has no usage guidance.

learn more… | top users | synonyms

5
votes
1answer
10k views

Force rsync to copy symlink, even if referent does not exist

I am getting this message with rsync: symlink has no referent: "/a/path" Well, rsync is right: in the source filesystem, the (symbolic) link is pointing to a non-existent location. That is intended....
3
votes
1answer
327 views

What does “link to unknown” mean?

I just upgraded my server to Fedora 17 which made a switch of my bootloader from GRUB Legacy to GRUB2. There are two symbolic links in the /etc folder that points to the files grub.conf and grub.cfg ...
2
votes
2answers
776 views

Show symbolic links AND their targets in web directory listing (apache)

Listing a directory content with ls -l shows this output: total 12 drwxr-xr-x 3 root root 4096 Dec 11 16:38 2.3 drwxr-xr-x 5 root root 4096 Dec 11 16:38 2.4 drwxr-xr-x 2 root root 4096 Dec 11 16:38 ...
3
votes
1answer
4k views

Best practice to link with WebDAV, as FollowSymLinks doesn’t allow to show symlinks

Symbolic links are a widespread practice on linux to make a ressource (e.g. directory) available in another location without having to maintain several copies of it. This is implemented in many ...
3
votes
1answer
1k views

Dereference symbolic link in OS X?

In OS X, how can I dereference a symbolic link to a canonical file name? (i.e. one starting with /.) That is, I'm after the equivalent of GNU readlink's -f option: kapow:~$ greadlink -f ....
0
votes
1answer
53 views

Does soft link affects xml parsing and database process

I have a php code that does an xml parsing and inserts data into the mysql database. The code can process one xml file in an average of 18 minutes. Since I will be having lots of xml files and ...
1
vote
0answers
112 views

While using an ntfs smb share for mac users, do symbolic links and extended attributes work?

We have a majority of mac users but we'd rather support their file sharing using a Windows server with an ntfs drive, or at least a Linux server with ext3. We've had trouble, much trouble, utilizing ...
10
votes
2answers
9k views

Symbolic link and filezilla over sftp

I'm pretty new to debian, and I'm trying to set up a server. I have created a user who can only access his folder /home/username (and its subdirectory). Now I want to use that user for the webserver ...
2
votes
1answer
798 views

tar on windows and symbolic links

It seems to me that tar on windows does not understand directory symbolic links - it treats them as an ordinary folders which in my case leads to infinite recursion. 7-zip has the same problem. Are ...
1
vote
1answer
1k views

Is there a way to disable symbolic links for nginx auto-indexed directory?

I would like to configure nginx to list and serve bulk files from a select directory (autoindex on option). However I worry that if a symbolic link will be accidentally placed in such a directory, ...
0
votes
1answer
90 views

Make partition B content appears like a folder on partition A

Is it possible using commands in Windows Server 2008 to make some folders on a partition B accessible as if they were on partition A? Example: D:\programb(some files) D:\programa(some files) should ...
0
votes
5answers
2k views

Massive symbolic link creation using for loop in bash

I just wondering myself if it would be possible to create massive amount of symbolic links using a for loop? For exemple, I have a lot of directory on my /tmp directory (I know, not recommanded) and ...
0
votes
1answer
640 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
407 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
2answers
704 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
2k 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 : -rwxr-...
4
votes
1answer
6k 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
267 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
347 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 /Volumes/...
3
votes
3answers
1k 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 ...
1
vote
1answer
336 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 "...
9
votes
3answers
2k 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 ...
2
votes
0answers
344 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 ...
5
votes
2answers
4k 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
124 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
60 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
970 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
50 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
1k 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
386 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
1k 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 ...
57
votes
4answers
79k 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
348 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
184 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 drwxr-xr-...
6
votes
6answers
4k 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
81 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
4k 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
256 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
525 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
430 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
448 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
501 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 [root@...
4
votes
1answer
183 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
56 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: /home/...
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
5k 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 ...
5
votes
3answers
533 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: /etc/someprog/...
0
votes
2answers
80 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 ...
12
votes
3answers
631 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 c:\...
2
votes
2answers
569 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 ...