Re: [S.u.S.E. Linux] Elementary samba and ftp questions
![](https://seccdn.libravatar.org/avatar/14814da381573ceb62ea02d3bc6f8877.jpg?s=120&d=mm&r=g)
but I can't get to my ftp directory in /usr/local/ftp with <A HREF="ftp://192.168.0.1"><A HREF="ftp://192.168.0.1</A">ftp://192.168.0.1 I get no connection. Why?
Also if I <A HREF="ftp://localhost"><A HREF="ftp://localhost</A">ftp://localhost on the linux machine, I'm accepted as anonymous user, but am dumped into "/" with no file access.
How do I get ftp access into /usr/local/ftp?
I checked Yast under user ftp, and the home directory is shown as /usr/local/ftp. Why do I get sent to a useless "/".
I've heard this stuff is supposed to be "easy as pie", but I'm lucky I got this far. :-)
zentara Hi, I can't help with the samba stuff (I use NFS, no M$ here :), but maybe I can shed some light on the ftp question. First of all, you're not really being dumped into the "/" filesystem. What's happening is that due to default security you're being put into /usr/local/ftp as you want. What's going on is that there's a way of making your ftp directory be "/" for ftp users only, see man chroot. This way, anonymous FTP'ers can't get out of the /usr/local/ftp
directory and wreak havoc on your system. Your ftp directory becomes the / filesystem. As to why you can't see anything, I'll take a guess and say your file permissions don't allow anything to be seen. The docs for the wu-ftpd cover all this pretty well, especially the chroot part, and MOST IMPORTANTLY the file premissions needed to run a secure server. John Weekley -- Any sufficiently advanced technology is indistinguishable from a rigged demo. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
weekleyj@fastrans.net