Package: proftpd-basic
Version: 1.3.4rc2

Directive "AllowOverwrite On"  doesn't work in such config:

# cat /etc/proftpd/proftpd.conf
Include /etc/proftpd/modules.conf

<Global>
 AllowOverwrite on
</Global>

UseIPv6 off

UseReverseDNS     off
Port 0

SystemLog                       /var/log/proftpd/proftpd.log

  <IfModule mod_lang.c>
   LangPath /usr/share/locale
   LangDefault en_US
  </IfModule>

<VirtualHost x.x.x.x>
  <IfModule mod_cap.c>
    # Allow root to use chown(2)
    CapabilitiesEngine      off
    #CapabilitiesSet -CAP_CHOWN
  </IfModule>

ServerName "x ftp server"
Port 21
DefaultServer           on
ServerAdmin             x@x
IdentLookups off
MaxClients 30 "Sorry, max %m users -- try again later"
TimeoutLogin 60
TimeoutIdle 300
TimeoutNoTransfer 300
TimeoutStalled 1800
DefaultTransferMode binary
DeferWelcome off
Umask 022
DefaultRoot ~ !andron
AllowStoreRestart on
RequireValidShell off
User www-data
Group www-data
  <Directory ~/*>
        UserOwner www-data
        GroupOwner www-data
        AllowOverwrite  on
        <Limit WRITE READ DIRS STOR SITE_CHMOD>
                AllowAll
        </Limit>
  </Directory>

</VirtualHost>

But work if I comment UserOwner and GroupOwner directives it's works:

# cat /etc/proftpd/proftpd.conf
Include /etc/proftpd/modules.conf

<Global>
 AllowOverwrite on
</Global>

UseIPv6 off

UseReverseDNS     off
Port 0

SystemLog                       /var/log/proftpd/proftpd.log

  <IfModule mod_lang.c>
   LangPath /usr/share/locale
   LangDefault en_US
  </IfModule>

<VirtualHost x.x.x.x>
  <IfModule mod_cap.c>
    # Allow root to use chown(2)
    CapabilitiesEngine      off
    #CapabilitiesSet -CAP_CHOWN
  </IfModule>

ServerName "x ftp server"
Port 21
DefaultServer           on
ServerAdmin             x@x
IdentLookups off
MaxClients 30 "Sorry, max %m users -- try again later"
TimeoutLogin 60
TimeoutIdle 300
TimeoutNoTransfer 300
TimeoutStalled 1800
DefaultTransferMode binary
DeferWelcome off
Umask 022
DefaultRoot ~ !andron
AllowStoreRestart on
RequireValidShell off
User www-data
Group www-data
  <Directory ~/*>
        #UserOwner www-data
        #GroupOwner www-data
        AllowOverwrite  on
        <Limit WRITE READ DIRS STOR SITE_CHMOD>
                AllowAll
        </Limit>
  </Directory>

</VirtualHost>



--
WBR, Andrey Vasilishin CDIG1-UANIC, CDIG1-RIPE



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to