The tag has no wiki summary.

learn more… | top users | synonyms (1)

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
37 views

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 ...
1
vote
1answer
34 views

How do I symlink one directory to a chrooted (jailed) directory?

'm trying to create a folder (directory) for a jailed user on my server that will allow him to access another folder outside of his jail. I'm trying to do this with symlink but all it does is create a ...
0
votes
1answer
25 views

Setup VSFTP to download file not symlink

I am running VSFTP. In a chroot environment I have the following setup: ftpdir/directory1 ftpdir/file1.txt ftpdir/links/linktodirectory1 -> ../directory1 ftpdir/links/linktofile1.txt -> ...
0
votes
0answers
26 views

Apache2 Serves Old Content After Symlink Change

When we deploy we create a timestamped folder in a versions folder. After it's done cloning from git we unlink the symlink, and create a new one to the new versioned folder. We reload apache (not a ...
0
votes
1answer
40 views

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

Symbolic directory link shared in domain

We have a file server that is 2008R2 STD, it is a member server in a 2008 AD. I need to relocate some of the files and directories and would like to do it behind the scenes more or less without ...
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 ...
0
votes
0answers
34 views

What is the expected behavior of creating links on a Samba share from a Windows machine?

I've got a server with some stuff shared via Samba and a remote machine running Windows used to access the share. What is expected to happen if I create symbolic/hard links using standard Windows ...
0
votes
0answers
38 views

Jenkins job and distant symlink to create

I have a job in Jenkins in which I have to create a symlink on the distant server on which I deploy. I've tried different solutions but none of them worked. As it's pretty difficult to get relevant ...
0
votes
1answer
25 views

Copy symlink structure from one server to another

I have a symlink structure that I would like to copy from one server to another. I do not want to copy the files, just copy the symlink structure itself. I tried simply tarring the list of symlinks, ...
1
vote
3answers
69 views

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, ...
0
votes
1answer
36 views

File access from CentOS new HDD by web user

I am using Centos 6.3 final and Apache 2.2.15. I recently installed a new HDD and created a symlink within my website's root directory so that my script can write big files to it and uses can access ...
0
votes
0answers
25 views

lighttpd on win32 - symlink equivalent?

I have lighttpd running on a windows 7 box. Is there a way to emulate symlink behavior? Say my document root is at D:\www\docs. And suppose that some files I want to have in my web server's file ...
0
votes
0answers
40 views

Trailing slash added when symlink matches directory name

I have a rule which rewrites my shop url (http://mydomain.com/shop) to a symlink (/var/www/shop). I've noticed that if the url subdirectory matches my symlink name (shop/shop), Apache enforces a ...
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 ...
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
54 views

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 -> ../../en/mp3/file2-longer-name-a en/mp3/file1-longer-name-a ...
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
1answer
938 views

Nginx doesn't follow symlink properly

I'm trying to automate my deployment process and I'm having this strange issue. Every new version of my web app is placed in /var/www/releases/{timestamp}. After I execute git clone into that ...
2
votes
1answer
34 views

Can you make the /vz directory a symlink?

I have a OpenVZ VPS server with a 500GB hard drive and 240GB SSD. I'd like to have each VM's files stored on the SSD. Can I make their directory within /vz symlink to a directory on the SSD? There ...
4
votes
3answers
397 views

Why doesn't ls -la show that current directory is symlink?

This is more of a curiosity, but I noticed /etc/httpd/logs is symlinked to /var/log/httpd, but when I am inside of /etc/httpd/logs and I do ls -la I see: drwx------ 2 root root 4096 Mar 21 14:58 . ...
0
votes
1answer
486 views

Kickstart Installation from USB

My goal is to install Oracle Linux 6.3 from USB. My problem is when I copy DVD media to USB. The symlink file repodata is unable to create because the file system is FAT/FAT32. Below is the symlink ...
1
vote
1answer
164 views

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 ...
3
votes
2answers
176 views

Security of symlink to directory outside webroot set to 777?

I have a few websites that use the same cached weather reports so I wanted them all in the same folder. It seemed the most logical way to do this would be to but this folder outside of the webroot. It ...
0
votes
1answer
69 views

VMWare/Ubuntu development stack with symlink to Windows 7

I would like to use a vm ubuntu installation as my testing environment, but to ease workflow, I have symlinked /var/www to a windows share. Everything looks good when browsing files and the owner and ...
1
vote
1answer
850 views

Symlink - Permission Denied

I'm facing an interesting problem with plenty of Permission Denied outputs when using SymLinks Linux: Slackware 13.1 Directory with Symlink: root@Tower:/var/lib# ls -lah drwxr-xr-x 8 root ...
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 ...
0
votes
2answers
276 views

Linux Shell - How to copy directory without symlink

I would like to get everything inside one directory. How can I copy entire directory (that originally contains files and symlinks) to a new directory that should contains all files but no symlink?? ...
0
votes
1answer
29 views

Get directory of a symlinked script

I have to determine the directory of a script which is symlinked. /usr/local/src/myscript/myscript.sh /usr/local/bin/myscript.sh (Symlink to the one above) A cronjob executes ...
1
vote
1answer
293 views

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

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" ...
3
votes
1answer
2k views

SFTP: file symlinks in a jailed (chrooted) directory

I'm trying to set up sftp so that a few trusted people can access/edit/create some files. I have jailed a user into their home directory (/home/name) but have run into a problem. I want for them to ...
3
votes
2answers
316 views

MySQL Not Reading Symlinks for Options Files my.cnf

I'm running MySQL 5.5 on Ubuntu. There is a my.cnf file in /etc/mysql/ where I would expect it to be. - Great! For debian installations of mysql it is recommended that you do not edit the my.cnf ...
2
votes
1answer
256 views

Office 2010 documents via Windows 7 symlinks on network share very slow in comparison to network path access

Client: Windows 7 Premium, Office 2010 Pro Plus, both fully patched. Server: Samba 3.5.10 on CentOS6 (SELinux enabled), Shadow copies enabled. Link speed: 1MBps. As Windows 7 doesn't like me to use ...
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

How to secure Apache for shared hosting environment? (chrooting, avoid symlinking…)

I'm having problems dealing with Apache configuration: the problem is that I want to limit each user to his own docroot (so, a chroot() would be what I'm looking for), but: Mod_chroot works only ...
2
votes
1answer
104 views

Server symlink doesn't map in URL

I have a symlink in my main htdocs directory /home/www/example.com/htdocs: index.php cms (symlink) lrwxrwxrwx 1 apache myuser 32 May 22 15:33 cms -> /home/www/xyz-cms/https/cms/ However, ...
3
votes
1answer
672 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 ...
1
vote
2answers
437 views

What performance issues are there with using symlinks for your Apache docroot

I tried to find an existing question for this already, but couldn't find a good match. As part of my deploy process for my public facing sites, I am using symlinks to swap between versions of the web ...
0
votes
1answer
373 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
2answers
674 views

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 ...
0
votes
1answer
237 views

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 ...
0
votes
1answer
82 views

Drupal File System

In order to try & improve load time , I'm thinking of creating a specific subdomain for the files folder in a Drupal site. Further improvement could be for instance to have that specific subdomain ...
1
vote
1answer
45 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: ...
2
votes
1answer
231 views

Are relative-path symlinks reliable on Rackspace Cloud Sites?

Rackspace's Cloud Sites have a lot of stupid limitations. For example, no SSH (in or out), no shell, no RSYNC, etc... (even through cron). Recently I learned that you can't reliably use symlinks in ...
4
votes
3answers
229 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: ...
2
votes
1answer
818 views

Trying to understand symlink behavior with vsftpd

I recently moved my website to a CentOS 6 VPS (from a HyperVM-enabled CentOS 5 VPS). I set up vsftpd to handle our FTP needs. I created a local user for everyone who needs to use the FTP. For my ...
1
vote
1answer
126 views

How do I do a bind mount over a symlink?

I have a symlink: /test Which is pointing at a directory: /source I want to do a bind mount to mount /new over /test mount -o bind /new /test However this binds /new over /source (with /test ...