The tag has no wiki summary.

learn more… | top users | synonyms (2)

1
vote
2answers
997 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" ...
8
votes
1answer
5k 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
567 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
387 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
229 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
181 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
42 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
804 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
112 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
448 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
165 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
847 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
282 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
166 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
100 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
50 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
285 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
290 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 ...
1
vote
1answer
248 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
430 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
574 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
756 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
206 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 ...
3
votes
1answer
108 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 ...
13
votes
2answers
9k 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
722 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
232 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
506 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
236 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
239 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
303 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
140 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
382 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
286 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
214 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
1k 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 ...
3
votes
1answer
775 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
633 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 ...