Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: ChanChong on March 06, 2003, 10:00:34 AM
-
Hi,
Is there anyway after creating a symblic link, a user when logon using ftp, is able to navigate and upload to that link? Meaning, after logging using their ftp account, besides the default home and Maildir directory, the user is able to navigate to say this symbolic link call "link1"? This "link1" which says points to /home/e-smith/files/ibays/english/html has already been created in shell mode by the administrator.
Simply, all I want to achieve is that a user is able to upload or download to a few directory besides only to home.
I understand that there is a rpm call chroot ftp. But that only points to one directory. I wish to go to a few.
Hope that is clear enough.
Thanks.
-
Grant the english directory read and write right to those ftpuser. Better do it with care and know what are you doing when you allow people to upload stuff to your server.
good luck.
-
Thanks for the reply. Perhaps I am not clear enough. I have already set all the permissions.
However, how can I say when a user log in using ftp, the user will see his "home" directory, "maildir", and also the directory that I allow him to upload information to.
-
Try the following it might help to get you closer to what you want.
http://dungog.net/sme/howto/chroot.php
Chow!
-
When your user simply go to
ftp://ftp.yoursite.com
then at your workstation (possible win envor) and change the login identity like
login as : kel
pass: *********
then kel will directly go to his own home directly
if you want you user to access certain ibay
ftp://ibayname@yoursite.com
If your ibay need password, it will ask you. if not, the user can see it all.
Good luck
-
If you are using SME 5.6:
- mkdir /home/e-smith/files/users/username/home/newdirectory
- mount --bind /home/e-smith/files/ibays/english/html /home/e-smith/home/e-smith/files/users/username/home/newdirectory
Then find out the syntax for adding this mount point to fstab and tell me how to do it :-)