The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
6 views

VirtualBox Vboxmanager not seeing VMs. [migrated]

I need to enable symlinks in my virtualbox shared file called sf_VMShare following this tutorial. When I run the command: VBoxManage setextradata YOURVMNAME ...
-1
votes
1answer
28 views

How to copy the target file vs the symlink

I have files with symlinks as shown below : link_AB91 -> file_12857.xml link_XY99 -> file_102856.xml link_EF02 -> file_96843.xml In my script I reference the link not the actual target file. ...
0
votes
1answer
34 views

php files(Symlink) are displaying as text

This is not same other question like "php file is displaying text or not executing". In my case, the php files are indeed working fine. However the files(symlink) to the php files are not working. ...
6
votes
3answers
3k 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 ...
0
votes
0answers
62 views

Apache does not follow symlinks to locations on external drives

I have run into a problem using glob function. I use it to scan the entire directory contents and everything is shown except for the symlinks that are mapped from an external hdd or the other ...
5
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
0answers
24 views

Copying preserving file and directory symlinks and symlink destinations

I have a directory with a bunch of files and symlinks in it, for example (not related to my actual hierarchy): src/usr/bin/ls -> src/usr/bin/busybox src/usr/bin/echo -> src/usr/bin/busybox ...
1
vote
1answer
726 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 ...
0
votes
0answers
17 views

Symbolic link in CIFS/SMB and Samba

As I know, Symbolic links is supported in SMB2. Has Samba implemented this feature yet?. If it is implemented in Samba, is there any difference between symbolic link supported in Windows Server share ...
2
votes
3answers
123 views

Can't apply SELinux file context to paths with symlinks

I have a solution that is being installed in an enterprise environment. The solution and its deployment guide are designed to installed on a RHEL7/CentOS7 server with SELinux enabled and components ...
0
votes
0answers
25 views

rsync create symlink if no referent

I use a directory which contains symlinks to different points (for backup). To make it easy, I have to add a symlink to my backup-directory and it's copied during backup process. This need of course ...
0
votes
1answer
19 views

Change the name of a symlink directory without breaking it?

I'm trying to go through the process of changing a symlink on ubuntu 14.04 LTS without breaking anything. Do I simply rename the folder and change the way the virtual hosts file points to the ...
2
votes
1answer
2k 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 ...
0
votes
1answer
95 views

Nginx - redirecting all requests after a URL path to a PHP script

In our existing Apache setup, we have a .htaccess file in a folder which redirects all requests to a PHP handler. For example: www.example.com/gallery/user01/xyz.png For this URL request: The ...
0
votes
0answers
64 views

PHP file causes error if not accessed via symlink

I have a PHP file which randomly causes a 502 Bad Gateway error in Nginx. The Nginx configuration is the following: location ~ ^/dscms3/bo3/(.+\.php.*)$ { client_max_body_size 1000M; include ...
-2
votes
2answers
89 views

How to prevent a symlink from being removed?

I cannot seem to work out how to protect a symbolic symlink from being deleted/removed or overwritten. Any ideas?
0
votes
1answer
55 views

Nginx & PhpMyAdmin standard practices

I'm currently migrating a small dev server from Apache to Nginx and I'm wondering about the "standard" way to manage PhpMyAdmin : I've simply symlinked the phpmyadmin folder to my nginx site root ...
0
votes
2answers
44 views

Symlinking config files

Our server has various services with it's own config file. Nginx, Dovecot, Postfix... All these config files are located in their own /etc/{service} directory. I'm trying to move these files to a ...
0
votes
3answers
78 views

Identical directories on Linux file system are not symlinks. What else they could be?

I found two directories on some of my systems which are completely the same. All subdirectories and all files are the same. When I delete a file in one directory it disappears in other too. This would ...
3
votes
1answer
93 views

How do I grant users permission to create hard links (using GPO or registry entries)?

I'm working in an AD domain with one DC running Windows Server 2012 R2, and clients running mostly Windows 7 Professional. I need to be able to grant certain user groups the permission to create hard ...
1
vote
3answers
113 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, ...
1
vote
1answer
258 views

Moving \inetpub\ for IIS 8.5

There are many sources that say that the %SERVERROOT%/inetpub/ must never ever be deleted or moved. And yes, I can agree with this, as updates to IIS update that directory blindly -- they don’t ...
1
vote
2answers
6k 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 ...
1
vote
2answers
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 ...
0
votes
1answer
111 views

Use .htaccess to redirect to a symlinked subdir of the web root?

I'm trying to use Envoyer.io to deploy my code and I'm running into some issues. This utility makes two folders, current and releases. current symlinks to latest release in the releases folder. So ...
-2
votes
1answer
69 views

Tomcat7 pointing to a symbolic link WAR [closed]

I have Tomcat7 running on a Linux server. Tomcat is pointing to a symbolic link WAR for my application. The link is pointing to the actual WAR. I am looking to upgrade the app. What I have done is ...
-1
votes
1answer
132 views

symlink to PHP file not handled as PHP

I have PHP5 installed on an Ubuntu 14.04 server and it works fine. I create a file called foo.php anywhere in the document tree and it gets passed to the PHP interpreter just as you'd expect. ...
0
votes
2answers
203 views

Symlink in crontab, script not found [duplicate]

I'm running Debian testing and can't get a simple cron to run a symlinked PHP script. I've a php script in a subdirectory in my home folder /home/foobar/dir/script.php (which starts with the ...
1
vote
2answers
3k views

Should /etc/localtime be a symlink or a file?

When I first install a RHEL system, I select a timezone. Examining the /etc/localtime, I see that this is a copy of one of the files from /usr/share/zoneinfo. However, when I look into changing the ...
4
votes
3answers
956 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 . ...
1
vote
0answers
12 views

Which settings apply to a folder connected via junction?

Which folder permission and folder sharing settings apply to a a folder "connected" within another folder via junction, or symlink? Lets assume we have two folders residing in drive D:. D:\Main ...
1
vote
0answers
213 views

Enabling the URL of a folder connected via symlink

Scenario Description: In my workplace we have a DomainController and use TerminalServices. There are different types of servers running on the DC (e.g. webapi , app). The dev guys developing the API ...
0
votes
1answer
187 views

Is it safe to symlink complete /var directory

Is it safe to move complete /var directory in separate partition and create symlink to it? mv /var /mnt/storage ln -s /mnt/storage /var Distribution is Google Cloud CentOS Image I do not want to ...
3
votes
2answers
239 views

Is it possible to change a symlink's date/time in Windows?

We've archived old (more than 2 year old) files on our fileserver using FSRM to a different directory by moving and replacing the files with symlinks - the problem is that the symlinks have as a ...
0
votes
0answers
35 views

Web server directory structure with additional volume for media (in Amazon EC2)

I'm re-building my server (LAMP) structure. I have now only one root volume that includes all data. Now i'm adding (EBS volume) for userdata like media etc. so i can just backup that volume and not ...
0
votes
1answer
278 views

debian: follow symlink outside basedir giers error

I have several virtual host with each there folder. And a single shared folder: /home/website1 /home/website2 /home/website3 /home/shared_src Symlinks works fine inside each folder to a per website ...
0
votes
1answer
89 views

Process can't see recently created symlink on NFS

I have a small amount of old ubuntu desktops connected by a switch acting as a mini test cluster. The workers take commands from a master node via the SLURM queue manager. They share a data mount and ...
-2
votes
1answer
113 views

How can I copy files by creating symlinks?

I want to traverse a filesystem and copy parts of it to another filesystem by creating symlinks instead of copying anything. rsync would be ideal if it had something like a --local-copy-via-symlink ...
3
votes
1answer
185 views

using /bin/bash in a chroot environment - symlink or mount

A user connects via ssh. The user is also chroot-ed to their home directory. The goal is security. Since the user is chroot-ed, when they login /bin/bash is not found. Obviously the user needs ...
24
votes
2answers
20k views

How can I zip/compress a symlink?

Is it possible and how can I zip a symlink from a linux shell?
0
votes
1answer
83 views

How to access original files from before a symlink gets updated, which have since been moved to another dir

We have a website and our deployment process goes somewhat like the following (with lots of irrelevant steps excluded) echo "Remove previous, if it exists, we don't need that anymore" rm -rf ...
5
votes
3answers
1k 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 ...
0
votes
1answer
5k views

apache wont follow symlinks | 403 permission denied

im using Ubuntu 14.04, and got problem with apache configuration: i created a Symlink in /var/www/html (the apache DocRoot since Ubuntu 14.04) torwards /home/me/myWebDirectory cd /var/www/html ln ...
0
votes
2answers
60 views

If a web root directory has a simlink that points to a folder one-level up, does that pose a security risk?

Assuming a Linux/Unix system. Not asking about any particular server software, just wondering in general. I want to use this to include javascript libraries or things like that in multiple sites or ...
0
votes
0answers
379 views

Tomcat - Symbolic link doesn't display images

I have a Java web app deployed on Tomcat 5.5.27 on CentOS 6.4 For certain images, I want to create a symbolic link to another directory. The application is deployed in the ...
0
votes
1answer
615 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
103 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
149 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
415 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
109 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 ...