The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
90 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
46 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
261 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
252 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
930 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
170 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 ...
1
vote
1answer
392 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
525 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
717 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 ...
3
votes
1answer
105 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
874 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
800 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 ...
11
votes
2answers
7k 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
27 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
582 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
230 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
470 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
230 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
10k 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
234 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
296 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 ...
0
votes
2answers
139 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
3k 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
347 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
272 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 ...
2
votes
2answers
3k views

Can't create or follow symlinks from linux client with a cifs mounted Windows Server 2008 R2 share

Windows Server 2008 R2 NTFS supports symlinks. If I log into the server as Administrator I can create symlinks with mklink, so I know the Admin user has the permissions to do this. If I mount a share ...
1
vote
1answer
69 views

Softlinking /home to a new folder on a big volume

I have a new large volume I would like to create a folder in called home to serve the users home folders, so the location would be /bigvolume/home. Would creating a softlink (ln -s) from /home to ...
1
vote
1answer
194 views

Question Mark on symlink

Why do I get a "?" mark at the end of a symlink sometimes? E.g. lrwxrwxrwx 2 root root 0 1969-12-31 19:00 xyz -> abc?
2
votes
2answers
906 views

How to symlink folders and exclude certain files

I'm not a server guru (unfortunately) but have a decent knowledge of linux & bsd. I'm trying to symlink multiple instances of HLDS (game server) but need to exclude certain folders & config ...
2
votes
1answer
708 views

Rsync: dealing with absolute symlinks

Having read through the rsync manpage, I can't see any way for rsync to automagically transform absolute symlinks between machines, i.e Server A file -> /home/username/path/file Server B file ...
3
votes
2answers
611 views

Is there a Linux FTP server that can resolve symbolic links when users are jailed?

I'm currently sing ProFTPd with mount points to "emulate" dir sym links. However, the problem is, what to do when you have file symlinks? I could hard link them, but this means replacing all of my ...
0
votes
2answers
60 views

Symlink - Change specific files

I've sym-linked a directory, and now I want to change a specific file in the linked directory, without changing it in the target directory. I don't want to copy the whole directory. What can I do?
2
votes
1answer
977 views

SELinux symlinks?

SELinux is not allowing me to change the context of a symlink. I get no errors or anything. It just doesn't change the symlink, which I am guessing means it is resolving the symlink and changing that ...
0
votes
2answers
201 views

SSL not working on symlinked files

I have a virtual (CentOS) webserver running Apache. I have multiple websites running. Two websites share the same set of core files and have a common database. The files are "shared" via symlinks. ...
2
votes
4answers
624 views

table alias (or 'symlink') in mysql

in MySQL5.1, is there a way to make one table accessible by two different names? I'm thinking about somethink like a symlink on linux filesystems. I know theres the CREATE VIEW myview AS SELECT * ...
0
votes
2answers
435 views

Symlink across local volumes in webroot?

I am looking for a good short-term solution to storage space concerns on my website. Currently, I have all uploaded files (flash video, images, etc.) inside the 'files' directory in my web root ...
2
votes
3answers
472 views

Why won't apache load a symlinked file from conf.d?

I have an apache configuration file which works fine when it's placed directly in /etc/httpd/conf.d/foo.conf. However, when I move the same file somewhere else (for example, move it to /tmp/foo.conf) ...
2
votes
3answers
394 views

List all symbolic links on a directory

a short question: is it possible to list all symbolic links onto a directory other than running a find over the whole filesystem? Background: I have a directory containing a lot of different versions ...
2
votes
1answer
877 views

PHP: Symlink in public_html cannot be accessed through browser

I have tester.php file which I want to run on the browser and I have created symlink to it in my public_html folder, but still when I try to run it, its not working and gives me following error ...
1
vote
2answers
140 views

How do I make it so that I can run this program anywhere?

java -jar yuicompressor-2.4.2.jar ~/src/yuicompressor-2.4.2/build$ ls yuicompressor-2.4.2.jar Usually, I have to be in that directory to run this command. Is there any way I can set it so that I ...
44
votes
3answers
5k views

What is the difference between a soft (symbolic) link and a hard link?

I hear that you can now create soft links in Vista too. So, what is the difference between a soft (symbolic) link and a hard link on UNIX/Linux/Vista? Are there advantages of using one over the ...
3
votes
3answers
1k views

Move a file and leave a soft link behind

I'm looking for a single linux command that allows me to do the equivalent of this: cp /some/path/file /another/path/ && ln -sf /another/path/file /some/path/ If there isn't one, what's the ...
13
votes
5answers
5k views

Some GUI for mklink?

Do you know some GUI tool to create Hardlinks/SoftLinks/Junctions?