Creating a "shortcut" to a directory?
Is it possible to create a file that, when double-clicked on from a GUI FTP client, forwards you to a directory?
Here's what I'm trying to do. I have a user I just created with FTP access rights to /var/www/htdocs, however their homedir is /home/username. Obviously when they login with the FTP client they start from /home/username, and being completely new to linux they won't know how to browse out and to /var/www/htdocs. What I'd like to do is have a file in their homedir called WWW that when double-clicked takes them to /var/www/htdocs. |
Create a symbolic link - it's exactly what they are made for.
I don't know what file manager you are using; here is the way to go on the console: $ ln -s /var/www/htdocs WWW $ cd WWW $ pwd -L /var/www/htdocs Hope I could help, mschutte |
i would expect the easiest way to accomplish this would be to set their home directory to /var/www/htdocs
i would doubt you could run a script from an ftp client. <edit> oh yeah, right, depending on your ftp server, a soft link will probably work too</edit> |
Quote:
|
All times are GMT -5. The time now is 01:31 AM. |