Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
that will give owner read/write and every one else read, that's pretty much what you'd want for an anonymous I believe. even if you'd need an account to log on to the server that is they way i'd go, unless you only want
to give owner and group read permissions
umask 027 will give other no permissions, group read only and user read/write i'd go with one of those
Where can I define the location of the FTP root.
I want this to be the same for ALL users that login. (/srv/www)
It now is /srv/ftp, but I can't seem to find where this is configured. (it's not in the pure-ftpd.conf)
you wouldn't be using a ssh client with the ftp service, you'd be using a client called sftp with a ssh service
sftp I believe comes with the ssh suite, so if you just set up ssh and people can get a interactive prompt then
they can also use sftp for file transfers or scp for file transfers.
Where can I define the location of the FTP root.
I want this to be the same for ALL users that login. (/srv/www)
It now is /srv/ftp, but I can't seem to find where this is configured. (it's not in the pure-ftpd.conf)
Shared directories and chroot.
-> I have a directory, say /var/incoming, that I want to be shared by every
user. But I want my users to be chrooted. So /var/incoming should be visible
in 'joe' and 'john' accounts, but those are chrooted. So, how to have the
content of /var/incoming visible in these accounts?
Making a symbolic link won't work, because when you are chrooted, it means
that everything outside a base directory (your user's home directory) won't
be reachable, even though a symbolic link.
But all modern operating systems can mount local directories to several
locations. To have an exact duplicate of your /var/incoming directory
available in /home/john/incoming and /home/joe/incoming, use one of these
commands:
* Linux : mount --bind /var/incoming /home/john/incoming
mount --bind /var/incoming /home/joe/incoming
* Solaris : mount -F lofs /var/incoming /home/john/incoming
mount -F lofs /var/incoming /home/joe/incoming
* BSD : mount_null /var/incoming /home/john/incoming
mount_null /var/incoming /home/joe/incoming
Warning: FreeBSD's mount_null is broken and causes kernel crashes with all
FreeBSD systems prior to release 4.4 .
I don't know what to tell you. I went to their website and read through the readme file, all it says is you can chroot the people to there home directory or to the servers directory I didn't see any docs on the config file though, only on command line parameters. and there was no parameter for changing its directory. I'd try reading through any docs that came with it see if it says any more than the website says.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.