The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
2k 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
52 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
2k 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
31 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 ...
2
votes
2answers
454 views

rsync invocation to replace symlinks pointing to source?

Currently I'm moving a big filesystem to a new server as the original fileserver is no longer able to handle the filesystem writes. To make this quick I made symlinks at the target filesystem ...
1
vote
1answer
557 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
1k 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" ...
11
votes
1answer
6k 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 ...
4
votes
3answers
684 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
449 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
261 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
214 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
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 ...
-1
votes
1answer
47 views

Two website accounts on linux VPS sharing common files/directories via symlinks [closed]

I have two eCommerce sites currently on two different shared hosting platforms. The sites sell music digital downloads. They both sell the same music. I would like to move them to a VPS, and I would ...
2
votes
2answers
1k 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 ...
1
vote
1answer
115 views

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 ...
0
votes
1answer
471 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 ...
3
votes
1answer
171 views

How to find any symbolic links that point outside a given folder tree?

I have a bunch of folders/files that are 10+ levels deep. How can I find any symbolic links that point outside this folder tree? I tried find -type l but this returns all soft links... even ...
1
vote
2answers
921 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
296 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 ...
4
votes
1answer
180 views

rsync to adapt links that have absolute paths to the location at destination

Would it be possible with rsync to adapt the absolute, symbolic links to a new location at the destination? Test case Imagine I have a link pointing to a file like this: ...
0
votes
1answer
114 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
52 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
301 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
341 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
1k 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 ...
2
votes
1answer
301 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 ...
2
votes
1answer
465 views

nginx serve the latest download

on a website I host I have a nginx set up as http server mainly for static content. Some content that gets serverd actually are software downloads (setup.exe stuff). What i want to do is somehow get ...
0
votes
2answers
597 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 ...
0
votes
1answer
784 views

Apache2 on Ubuntu 11.04 - New Virtual Host 403 Forbidden Error

I receive the following error when trying to access a new virtual host: Forbidden You don't have permission to access / on this server. Apache/2.2.17 (Ubuntu) Server at www.local.ttr Port ...
0
votes
2answers
208 views

Symlink gitolite user directory to Apache sites-available

I have a gitolite development server and I'm trying to automate creation of new virtualhosts. I figured rather than try to have the gitolite user (non root) create new config files in ...
4
votes
1answer
111 views

Absolute symlink-resolving pwd

I'm sitting in front of a Linux shell. I want to do something like pwd, except I want an absolute answer, i.e. I want any symlinks to be resolved to their true path. How can I do that?
4
votes
1answer
1k views

Shared Cygwin Install

I'm attempting to set up OpenSSH on a bunch of Windows Server 2003 machines in an automated fashion. My goal is to be able to do so using a single version of Cygwin installed on a network drive ...
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
1k views

symlink between public_html folders of two domains

I have a site hosted in domain1.com/mysite. I need to be able to point domain2.com to that site, but without doing any redirect (the url has to be the same). The "mysite" is a part of a very complex ...
16
votes
2answers
12k views

How can I zip/compress a symlink?

Is it possible and how can I zip a symlink from a linux shell?
1
vote
1answer
29 views

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

Samba mount isn't following a symlink

I am running two servers and wish to mount a directory on one from the other. For various reasons, I wish to use Samba (smbfs) rather than NFS. ServerA mounts ServerB with this in the fstab: ...
1
vote
1answer
828 views

How to increase max symlink limit in RHEL

I am running into the following Linux error: Too many levels of symbolic links. This seems to be caused by the system limit of 8 maximum link-chain size, and I'm looking for a way to increase this ...
0
votes
3answers
237 views

Is this a symbolic link?

I type ls -l and a directory shows up like this: lrwxrwxrwx 1 root root 23 Jan 7 03:44 order_pictures -> /storage/order_pictures Is that a symlink? I am trying to replicate this, so I type ...
1
vote
2answers
549 views

Which is generally considered faster or best practice: symlinks or Apache aliases?

I'm curious as to what most people's views are on this subject. Personally, I will almost always prefer symlinks unless I have no other option -- I find that it is far more obvious when someone is ...
1
vote
2answers
244 views

windows symbolic file links arn't followed through network access

I have a server with win7 and a big share on C:\share In this share there are many symbolic links to files on other local disks like C:\share\file.txt(symlink) <-> D:\file.txt I can access the ...
2
votes
2answers
11k views

Apache 2 Symbolic link not allowed or link target not accessible

My apache server runs as user foo. I have some Rails applications in /home/foo/app1 /home/foo/app2. Each of them has an vhost <VirtualHost *:80> ServerName app1.foobar.com ServerAlias ...
0
votes
2answers
246 views

Rsync, copy through symlink

I am using rsync to backup my server to an offsite server. Due to diskspace on my backup server, I have created a couple of symlinks to put some of the data on a different drive. However, instead of ...
0
votes
1answer
310 views

Symlink problem

I'm trying to do a simple symlink. I have a nfs share shared under /share. There are a couple of directories under /share. I wish to have a symlink of i.e.: /share/data in /var/opt/data. I come to a ...
1
vote
2answers
145 views

Symlinks for web pages

I have my web server set up running multiple sites and host them all in ~/sites/, outside apache document root (~/www), as follows: +-~/ +-sites/ +-project1/ | +-system/ | ...
1
vote
1answer
4k views

Following Windows SymLinks in network shares

I have a shared folder, let's call it e:\folder2\ 'Everyone' has read permission to the share and file system. From a command line, with pwd at e:\folder2\ I ran mklink /D slF1 e:\folder1 ...
1
vote
2answers
415 views

Automatically create symbolic links in Linux to files in one folder when a file in that folder is created and edited

I have 2 folders on my Linux OS, Apache 2 Webserver. Call them folderA and folderB . They are have following paths site1/public/sites/all/folderA site2/public/sites/all/folderB I would like that ...
0
votes
1answer
308 views

Can I hide or ignore symlinks with Samba

I'm trying to back up our company's website using a regular old windows copy utility. Website is riddled with symlinks and if they were all followed would bloat the backup to 400% of it's normal ...