Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jim on November 08, 2001, 05:25:27 AM
-
hi wondering if any one might be able to help?
I have set up an i-bay and all the files on there I want to be able to share through FTP which I have done but the problem I have is allowing a visitor access to upload as well as down load files.
My i-bay is testftp and I have set the permissions to:
Group: everyone
User access via file sharing or user ftp: Write = group read = group
Public access via web or anonymous ftp: Entire Internet (password required outside local network)
When I logon as testftp using the password I get taken right into the 'files' folder (created by e-smith) where I have setup 2 folders 'down' and 'up'
What I would like is to be able to set different permissions for each of these folders.
For example:
Downloads would have permissions so that people can view and download only.
Uploads would have permissions so that people can view and upload only
I have e-smith 4.1 with no extras other than what was on the iso.
Thank you
-
If you look in the ftp config file, /etc/proftpd.conf, you'll see what the permissions are.
If you want something different you'll have to modify the config file yourself. To do so you'll have to read the files in
/usr/share/doc/proftpd-1.2.0rc3/
to learn how, and then make modifications to the e-smith templates.
There are security issues with ftp (eg, cleartext passwords). I believe that it is possible to set up proftpd to use its own password file and to give any users access via password to ftp only. I have selected the "disable ftp entirely" option on my servers.
I would suggest getting your users to use scp instead of ftp (which is what I have done). There are clients for MSWindows and macs available via links on the openssh.org site. Other than having to install the client, it is no more difficult to use than ftp.
Chris
-
Thank you for your help Chris I will look for the files you mentioned and see if I can edit them without any fuss.
What is scp and what are the advantages of using it over ftp?