Symbolic link.
Hi,
I have make a symbolic/soft link to a directory: $ ln -s /home/shared /home/user1/shared As user1, I can see the link created in the home folder, and can even open it. But when I ftp, I can see the 'shared' folder (soft link), but I cannot open it up. It says "No such file or directory". Anyone know what I need to do, so that I can open the folder in ftp? Thanks. :) |
some utilities do not follow links.
you can either edit one of the configuration files for your ftpd, or recompile it with follow symlinks enabled. I do not know which. |
also try ls -l in the same directory as the symlink is in to make sure it is pointing at the right directory.
|
Or you can open home/shared with the FTP client, lol
|
Funny thing is, if I make a directory in my home folder, and make symlink of that directory in the same folder, I can access it just fine.
I dont think it's the permission, since I give 777 to the /home/shared folder. And I dont think it's because the documentroot of my ftp server is ~ (user home directory), because i did change it to /home, and still negative. :) Thanks for the reply anywa. |
Well, I dont want to make the document root as /home. That's why I created symlink. :cool:
|
I see, it's the ftp client. It doesnt go to where the symbolic link is poiting to, but just try to open the directory, as if it's a normal directory.
|
yeah just make a normal directory in /home/yourFTPuser/shared
really that easy, if you cant follow symlinks properly. |
Nevermind, I have a workaround for my problem. By the way, the idea of making shared folder is that so multiple users can access the same folder, add/edit/etc whatever is in the folder.
Thanks anyawy. :) |
All times are GMT -5. The time now is 09:16 AM. |