Problem with symlink
Hi
I have symlink's on my site from years. Lately I noticed that if I clicked on the symlink using ftp I will get error:
550 test: No such file or directory
But on my web the symlink still work fine.
But the normal symlink that comes with my site like @www for public_html is working fine. I think that mean the way I made my symlink's is not working anymore with FTP.
I am using this command:
ln -s PathToFolder/Folder Folder
Please advice
Best regards,
Tariq
-
Try using the full path when making the symlink. FTP is weird like that. 0 -
Hello :) It's possible you are noticing a change that started with cPanel version 11.40. The 'virtual chroot' feature of Pure-FTPd is now disabled by default. Thus, chroot becomes "/" for symlinks. For example, a symlink to /etc, will now point to /home/$username/public_html/ftpuser/etc. Thank you. 0 -
Also check to see if the symlink is owned by the user. If you were shelled in as root it may be owned by root. chown -h username symlink 0
Please sign in to leave a comment.
Comments
3 comments