The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
31 views

mysql load_file() function always return null for symbolic link

i have installed new database server on ubuntu mysql version is 5.5.35 im trying to execute select load_file('/usr/home/aaa.com/medya_data/ver.txt') and im sure ver.txt file is exist but ...
1
vote
1answer
10 views

Share a single uploads folder between 2 users through a Symlink or similar

One of the VPS's we're running contains 2 accounts that both share a database and SHOULD share an uploads folder. Both accounts are directadmin generated web accounts on a Centos 6 server. The second ...
1
vote
1answer
49 views

DegradedArray event after rsync but later mdadm and smartctl do not show any issue

I have in my cron rsync active and I started to get emails after each rsync This is an automatically generated mail message from mdadm running on titan707 A DegradedArray event had been detected on ...
-4
votes
4answers
176 views

How to add symbolic link as webapp to webapps in Tomcat 7 on Linux?

Setup I use Apache Tomcat 7 on an Arch linux distribution, and my webapps directory is located at /usr/share/tomcat7/webapps. In this directory one should create a directory, and put META-INF and ...
1
vote
2answers
25 views

Apache2: Use target name of symlink for Content-Type mapping

I am working on a web application that need to serve a number of continuously updated documents at static URLs, but the Content-Type of the documents differs (it's either JPEG or SVG). If the document ...
0
votes
0answers
60 views

How do I write a script that compares folder/symbolic-link names from two diffrent folders?

I need help in writing a script to create symbolic links. Here is a script that I have been running on background. #!/bin/bash SOURCE="/home/$USER/www" DEST="/var/www" while true; do find $SOURCE ...
-1
votes
1answer
52 views

Apache: Serve one directory in two virtualhosts

I try share a WordPress plugin directory between two sites. The problem is that the scripts are working but not the URLS. They are output in a strage way that the path is in there when it should not. ...
0
votes
1answer
415 views

nginx symlinks permission denied / 403 Forbidden on Mac OSX

So I have an nginx server running on Mac OSX and I am trying to create a symlink in my nginx www directory from somewhere else. In the browser I get the wonderful 403 Forbidden error. I have also ...
2
votes
0answers
57 views

Create a symlink to a serial port

I have a software that outputs some info to a text file. Now I want to redirect that output to a serial port. The file name is hard coded in the software. So I decided to create a symlink to the ...
0
votes
0answers
71 views

Permissions issue using symlink on public_html folder

I have two accounts on a centOS server. The first account has a normal public_html folder, the second account has a symlink to the first account public_html folder instead of a normal one. The first ...
-1
votes
1answer
47 views

creating a drive (letter) that is a link to a folder [closed]

on my home pc I want to simplify things when it falls to accessing my home folder, so I would like to make my c:\Users\myusername folder pointing to a virtual drive created ad-hoc, such as Y:. In this ...
-1
votes
1answer
38 views

Porting Site Created On Windows Apache Server to Linux Apache Server - Symlinks disappear

I created a site on a testing server on my local Windows machine, and now I wish to port it to a remote server which is Linux. Both sites running under Apache. To create symlinks on Windows, is ...
2
votes
2answers
104 views

How to rename junction without breaking link

If I rename a folder which is the target of a (or multiple) junction, is there any way to update all the junctions to point to the renammed folder instead of just breaking?
0
votes
1answer
423 views

install vmware tools in zeroshell 2.0

Situation I'm using the 2.0 RC2 iso from http://www.zeroshell.org in a VMware ESXi 5.1 virtual machine and am trying to adapt the instructions on HowTo: vmware-tools in ZeroShell for v2.0 as the file ...
0
votes
1answer
70 views

Apache acting strange on symlinks [duplicate]

I have a VPS with CentOS and I'm facing a very strange behavior by Apache webserver. I started this server with 50GB of disk space and soon I ran out of space so I asked maintenance department and ...
0
votes
1answer
235 views

Tomcat 6.0 fails to read symlink symbolic link file

This is what I have my /tomcat/conf/context.xml <Context> <Resource name="jdbc/black" driverClassName="oracle.jdbc.OracleDriver" auth="Container" ...
2
votes
1answer
26 views

delete empty file link

I accidently made a link and can't delete that: big:~# ls -al total 88 lrwxrwxrwx 1 root root 27 May 28 18:10 -> /etc/apache2/ssl/apache.pem drwx------ 8 root root 4096 May 29 01:45 . ...
0
votes
1answer
43 views

Disk Writes to Mounted EBS Volume Not Logged in Monitor

I have an EBS volume specifically dedicated to storing remote backups via rsync. This volume is attached and mounted to an EC2 instance. The user mediating backups has access to this volume via a ...
1
vote
1answer
76 views

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 ...
0
votes
0answers
30 views

Weird permissions error with error_log

I am having a very strange issue with error_log. For some strange reason, error_log cannot write to any file under a symbolic link. Here is the structure: /var/www # apache root, rwx for group ...
0
votes
2answers
66 views

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 ...
0
votes
3answers
284 views

User can't remove symlink which owns

I'm trying to remove symlink, although I have appropriate permission, the operation is denied (the user is called capistrno): capistrno $ rm -f /var/www/app/current rm: cannot remove ...
2
votes
2answers
743 views

Linux Symbolic Linking not working as expected

I have achieved my "goal" several times before but am running into an issue I have not yet experienced before. I have a webserver setup with Nginx on Ubuntu 12.04 LTS. I have my system setup the way I ...
1
vote
0answers
176 views

Backup Server using Greyhole and BackupPC

I'm setting up an Ubuntu box to backup one of our servers using BackupPC. I've got 2x 2tb hard drives and I've set up Greyhole to duplicate the data from the samba share /mnt/samba/backups across both ...
0
votes
1answer
222 views

htaccess rewriterules for multiple pages with parameters

In main page index.php I have two href (like menu) for objective.php and news.php For both objectives and news I sent variables like: <a href="objectives.php?menu=corporate-objectives"> ...
2
votes
1answer
2k 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 ...
3
votes
1answer
141 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
1answer
211 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
234 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
43 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
81 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 ...
4
votes
2answers
2k views

symbolic link and filezilla over sftp

I'm pretty new to debian, and I'm trying to set up a server. I created a user which can only access to his folder /home/username (and its subdirectory). Now I want to use that user for the webserver ...
1
vote
1answer
213 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
453 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
82 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
360 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
412 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
205 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
200 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
191 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
629 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
2k 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
130 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
291 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
427 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
111 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
764 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
176 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 ...
1
vote
1answer
1k 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 ...