symlink - no such file or directory

Adam Howard

Well-known member
I've tried

ln -s /sociallyuncensored.eu/public_html/forums/data /sociallyuncensored.com/public_html/data

and also I tried

ln -sf /sociallyuncensored.eu/public_html/forums/data /sociallyuncensored.com/public_html/data

Always ends the resolve with

ln: creating symbolic link `/sociallyuncensored.com/public_html/data': No such file or directory

Now I've made the folder manually in both places, without in both places, and even tried swapping from one place to another. Same outcome.

I'm using this as the user account and not root, because I need /data/ to be chmod 777 for that users.
 
OK doing the full path

/home/USER/domains/sociallyuncensored.eu/public_html/forums/data /home/USER/domains/sociallyuncensored.com/public_html/data

May have worked.... But I'm not sure because FTP does not seem to want to follow the symlink
 
If you're using pure-ftpd you need a special compile flag to enable symlink support (why oh why don't they make this a config file option), and you have to be extra careful not to introduce security holes with it
 
If you're using pure-ftpd you need a special compile flag to enable symlink support (why oh why don't they make this a config file option), and you have to be extra careful not to introduce security holes with it
I guess I'm not really worried about FTP following it, per say. That's just normally how I would have tested it before pointing the site in X direction.

As long as it write to it sociallyuncensored.eu/forums/data/ and http accepts sociallyuncensored.com/data/ for a true static and cookie less domain... I'll be good.
 
Back
Top Bottom