symlink - no such file or directory

TheVisitors

Verified User
Joined
Mar 21, 2012
Messages
34
Location
Its my world, you all just live here
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.
 
Last edited:
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
 
Last edited:
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
Either of these would probably work without the leading '/' which indicates the path should start from the file-system root. Which of course it doesn't.

Jeff
 
Back
Top