Questions tagged [symlink]

168 questions
2
votes
1 answer

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 user Joe, he logs in with FileZilla and lands in…
Crisu
  • 65
  • 2
  • 8
2
votes
2 answers

Nginx serve a symlink using the target's filename

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 nginx to serve the newest download package under a…
2
votes
2 answers

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 navigating the file system, but, on the other hand…
cwallenpoole
  • 325
  • 2
  • 13
2
votes
2 answers

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 ServerName app1.foobar.com ServerAlias www.app1.foobar.com DocumentRoot…
astropanic
  • 307
  • 2
  • 5
  • 18
2
votes
4 answers

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 * FrOM mytable thing, but I don't only need to SELECT…
andreas-h
  • 1,114
  • 1
  • 17
  • 28
2
votes
3 answers

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 of a library and I'd like to do some cleanup work…
maff
  • 311
  • 1
  • 4
  • 14
2
votes
1 answer

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 message. Access forbidden! You don't have permission…
Rachel
  • 213
  • 1
  • 2
  • 6
2
votes
1 answer

How to create .zip archive containing preserved symlinks (shortcuts) in Windows (CLI)

How can I create a .zip compressed archive in Windows from the command-line that preserves symlinks? I'm trying to create .zip file in PowerShell that includes a relative symlink from one file to another file in that archive, but I either encounter…
Michael Altfield
  • 739
  • 2
  • 8
  • 23
1
vote
1 answer

How to mount with SAMBA and respect symlinks

I am mounting a directory, e.g., /home/docs/ from PCserver to PCclient using the SAMBA share in Linux. Both computers are in Linux (Ubuntu). I perform sudo mount -f cifs with the necessary parameters, and everything works okay. The /home/docs/ from…
loved.by.Jesus
  • 331
  • 2
  • 10
1
vote
1 answer

Apache will not follow symlink without matching owner even with SymLinkIfOwnerMatch disabled?

I am transferring some hosting accounts from CentOS 6 with Apache 2.2 to CentOS 7 with Apache 2.4.34. Some of these accounts symlink to files through a directory symlink inside the DocumentRoot to files outside the DocumentRoot. Like this: root:root…
jimp
  • 638
  • 3
  • 11
  • 20
1
vote
0 answers

mysql wont connect to symlinked socket when given full path, but connects with relative

So I'm super confused. I have a test build that started breaking because a mysql socket was attempting to be created in such a deeply nested folder that its file path name exceeded the 108 character limit. So my thought was to put the socket in the…
Rooster
  • 495
  • 2
  • 7
  • 21
1
vote
2 answers

Symbolic links changed to SYMLINK on Windows Server

We have been using symbolic links extensively to archive historic files. An automatic script would create symbolic links regularly based on certain criteria. Users don't experience inconvenience as the soft links can be opened as regular files,…
carous3l
  • 57
  • 1
  • 1
  • 4
1
vote
0 answers

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 D:\Other. I create a junction in D:\Main\jOther which…
Kristof Tak
  • 257
  • 1
  • 3
  • 14
1
vote
0 answers

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 want to access a folder (i.e. app\images) through…
1
vote
1 answer

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 medya_data folder mapped as symbolic link if i try without…
Mustafa
  • 11
  • 2