ProFTPd should just pretty much work 'out of the box'. You want to set
the user back to proftpd, as this is the user the FTP daemon runs as.
You should also restart the daemon once you've made this change.
When you connect to an FTP server and login, you'll be put into your
home area, usually /home/<username>. Depending on how you've got ProFTPd
configured, you may be in a chroot jail - if this is the case, your home
directory will become the root directory, /, and so you won't be able to
go any higher than your home area.
If you're not running in a chroot jail, you'll need to have at least r+x
permissions on every folder you want to navigate into between you home
directory and your destination directory. If you try and set all the
permissions, you could end up with some strange permissions on public
parts of the filesystems, so I'd avoid doing that myself.
It looks like you're trying to create an FTP server that you can use to
upload/download files to your webserver, in /var/www. I would recommend
creating a user (e.g. web), with a home directory set to /var/www, so
that this is the folder you automatically get put into when connecting.
You can then upload files to your web root folder, although you may need
to change ownership to your Apache user.
But yeah, if you're only looking to upload/download/backup files to/from
your webserver, you could just use rsync and/or scp from another Linux
box (or using Putty tools like pscp, and robocopy, on Windows).
Hope that helps,
Paul
ludo1960(a)lycos.co.uk wrote:
Hello Bitfolkers,
Just to let you know that after a re-install everything went spiffingly!
Thanks Andy and the rest of you for your knd help.
No mail would be complete without a question:
I've installed Proftpd (from SSH! Hee hee, no more webmin for me!)
In the proftpd.conf it says:
# Set the user and group that the server normally runs at.
User proftpd
Group nogroup
So I created a user ludo1960 and gave him a password and made him a
member of the group nogroup.
In the /var/www folder I created an .ftpaccess file:
<Limit APPE DELE MKD RMD RNTO STOR XMKD XRMD>
DenyAll
AllowUser ludo1960
</Limit>
From filezilla I tried to connect to the server and directory
mentioned, but error 503 cannot connect!
Hmmm, is it an permissions thing?
Any ideas anybody?
Cheers,
Cliff....
------------------------------------------------------------------------
_______________________________________________
users mailing list
users(a)lists.bitfolk.com
http://lists.bitfolk.com/mailman/listinfo/users