Package: pure-ftpd
Version: 1.0.21-11.3
Severity: normal

The site chmod command terminate the control connection when file
transfer is not finished and file in remote server does exist.

Status before ftp upload
========================

$ ls -a /home/user
.  ..  .bash_logout  .bashrc  .profile
$ ls -l file
-rw-r--r-- 1 dhh dhh 2097152000 Sep 22 13:00 file

Start ftp upload
================

$ telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 13:10. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
user user
331 User user OK. Password required
pass pass
230-User user has group access to:  user    
230 OK. Current directory is /home/user
pasv
227 Entering Passive Mode (127,0,0,1,196,225)
stor file [1]
150 Accepted data connection
site chmod 600 file
Connection closed by foreign host.

[1] In another terminal
$ cat file | nc localhost 50401

The chmod command terminated the control connection.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages pure-ftpd depends on:
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  libcap1                      1:1.10-14   support for getting/setting
POSIX.
ii  libpam0g                     1.0.1-4     Pluggable Authentication
Modules l
ii  libssl0.9.8                  0.9.8g-13   SSL shared libraries
ii  pure-ftpd-common             1.0.21-11.3 Pure-FTPd FTP server
(Common Files

pure-ftpd recommends no packages.

pure-ftpd suggests no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to