~charmers/charms/precise/vsftpd/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Juju charm vsftpd  
Author: Nathan Williams <nathan@nathanewilliams.com>

# Usage

Deploying vsftpd

    juju bootstrap
    juju deploy --config vsftpd.yaml vsftpd
    juju expose vsftpd

To find out the public address of vsftpd, browse the output of the `juju status`
command.

# Configuration

Setup your parameters in vsftpd.yaml:

     edit vsftpd.yaml

A list of settable parameters is available using

    juju get vsftpd

or listing config.yaml

By default, the standard ftp port, 21, is turned on, this is changeable through
the config value: "port".

The "delete_departed" config option controls whether to remove files belonging
to users who have left the relation to the ftp-server.

If you decide to enable anonymous access, be aware that the anonymous user,
while not able to upload, will be able to browse and download files in any users
home directory.

Note that due to vsftpd security settings, it is not possible for users to
upload files to their chroot'd home directory. Rather, each user has a folder
"ftp" created within their chroot'd home folder which they can up/download to.

# Relations

When a relation is joined, a user for each juju unit is created and has relation
parameters generated for ftp_user, and ftp_passwd. The active port and server
are also available in the relation details.

# More Info

For additional configuration options, see [Ubuntu's FTP Server help page](https://help.ubuntu.com/12.04/serverguide/ftp-server.html#vsftpd-ftp-server-installation)