[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Changing proftpd.conf defaults



I would like to change the default functionality of the anonymous FTP option
on a RaQ4.
I can change the /etc/proftpd.conf for a site manually to get what I want,
but I would like to change the default behavior for the whole system.

I'm need to set an upload directory that the anonymous user has read/write
permission to and not just upload without seeing what he just uploaded.
I'm using the following config with some filesystem permissions to allow
writes on the upload directory.  Has anybody else done something similar?
I'm not overly familiar with Proftp.

        <Anonymous /home/sites/site2/ftp>
          User                          SITE2
          Group                         ftp
          UserAlias                     anonymous SITE2
          UserAlias                     guest SITE2
          MaxClients                    20
          <Directory *>
            <Limit WRITE>
              DenyAll
            </Limit>
          </Directory>
          <Directory /home/sites/site2/ftp/upload>
            Umask                       002
            <Limit READ WRITE>
              AllowAll
            </Limit>
          </Directory>
        </Anonymous>

Thanks,

Jon Cooper