Questions tagged [symlink]

168 questions
0
votes
0 answers

linux shared folder for all users php not working mod_hive suexec

Feel free to educate me - I'm migrating from a windows server to a dedicated linux server with apache 2.4 and centos 6.10 ... all users on the server are actually ME, so this part is not a security concern. I want to share a folder to all users. I…
KSechrist
  • 3
  • 2
0
votes
1 answer

how to use symlink with different “base” (nginx)

I have chroot environment with Apache and some website. Outside of the chroot I have nginx that forwards the requests to the Apache. However, there are some directories that I want nginx to serve faster so I did: location ^~ /uploads/ { alias …
Nick
  • 826
  • 2
  • 15
  • 42
0
votes
1 answer

share user folder with other users apache

Migrating from windows server (where this was unbelievably easy with virtual directories) to a linux server and have worked on this for weeks... I want to share a users folder contents with all other users on the server. share this folder:…
0
votes
1 answer

how to create fake symlinks when copying to CIFS share with rsync

So I have to backup lot's of data to a company server. And it creates a fair share of symbolic links. I'm on a Linux Machine, and the backup server is accessed via CIFS, which does not support symbolic links. And there is nothing I can do about…
dmeu
  • 101
  • 1
0
votes
1 answer

Linux symlink does not working after reboot

I have created on our Debian squeeze my own daemon from skeleton where is my application starting (+I add there some logging to my log file). I have put this file to /etc/init.d/ cp /home/ja /etc/init.d/ucloud-test -f chown root…
Roman
  • 1
  • 1
0
votes
1 answer

MySQL not finding database/tables through symlink

In my installation of MySQL the database files are located in ./var/lib/mysql. I wanted to move one of those databases to another drive, so I followed instructions to move one database to a different directory and copied the data files for the…
Altimus Prime
  • 364
  • 2
  • 7
  • 22
0
votes
0 answers

Moving a MySQL database to another device, even if dropped and recreated

I'm using symlinks to move some MySQL databases to another device with more space. All works fine until one of those DBs gets dropped and then re-created: the symlink is deleted in the process of dropping the database. And then a regular directory…
frnhr
  • 125
  • 8
0
votes
0 answers

Prevent local WordPress from deleting Plugins via Symlink

I run a local web server for developing plugins. My plugins reside in git repositories and I create symlinks to link them to the WordPress installations plugin folder. Sometimes it happens that I accidentially use the wrong browser tab and delete…
xxtesaxx
  • 101
0
votes
1 answer

Centralized logs folders with symlinks

I have a question about symlinks that I cant fullunderstand. I have next schema: Machine1: /opt/xxx/logs Machine2: /opt/xxx/logs Machine3: /opt/xxx/logs Machine4: /opt/xxx/logs Machine5: /opt/xxx/logs SharedFolder:/logs First, We had a shared…
user1422434
  • 101
  • 2
0
votes
1 answer

ruby: symlink doesnt exist yet trying the command says it does?

I've borked something up somehow. On one of my servers, if I type ruby, I get the error bash: /opt/rh/rh-ruby23/root/usr/bin/ruby: No such file or directory which ruby gives: /usr/local/bin/ruby which -a ruby…
jemminger
  • 125
  • 2
  • 8
0
votes
1 answer

nginx + php-fpm chdir not working

I'm meeting a problem with getting my nginx and php-fpm working. I'm getting an error 504 when I try to access my application. I have a structure like this; data/mywebsite/ | |---revisions/ | |---shared/ | |---released/ |---web/ …
0
votes
2 answers

AWS - Symlink directory in EC2 to S3 bucket

I would like to create "infinite" directory in terms of storage in an EC2 instance. Is it possible to symlink directories to S3 bucket? I did not find any solution in the Internet, maybe somebody knows?
user350413
  • 23
  • 1
  • 4
0
votes
2 answers

Is there a way to create a file that is the output of a command?

I have two files: foo.txt and bar.txt. I want a file named foobar.txt that is the content of both foo.txt followed by bar.txt. And if I change either file, I want foobar.txt to still output whatever is currently in foo.txt followed by bar.txt. Now…
Jason Thompson
  • 413
  • 2
  • 6
  • 16
0
votes
1 answer

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. For example, the normal .php files are working. #…
Abdul
  • 85
  • 1
  • 2
  • 9
0
votes
2 answers

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 directory? In order to avoid running into a bunch of…
Wolfpack'08
  • 101
  • 1
  • 2