Bug 1052816 - File is truncated or become larger than normal
Summary: File is truncated or become larger than normal
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: pure-ftpd
Version: epel7
Hardware: x86_64
OS: Windows
unspecified
medium
Target Milestone: ---
Assignee: Greg Swift
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-14 06:05 UTC by Owen Zhao
Modified: 2021-06-08 07:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-06-08 07:01:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
The main configuration of pure-ftpd service (1.63 KB, text/plain)
2014-01-14 06:05 UTC, Owen Zhao
no flags Details

Description Owen Zhao 2014-01-14 06:05:16 UTC
Created attachment 849748 [details]
The main configuration of pure-ftpd service

Description of problem:
Change the parameters of "KeepAllFiles" and "NoTruncated",use two or more FTP Client to upload the same file, after the tranfer process finished ,the file on the server is corrputed, some is truncated,some are larger than normal .


Version-Release number of selected component (if applicable):
Kernel Version:2.6.32-131.0.15.el6.i686
Linux Issue  Version: Red Hat Enterprise Linux Server release 6.1 (Santiago)
Pure-ftpd Version :pure-ftpd-1.0.36-1.el6.rf.i686
pure-ftpd main configuration file: please refer to the attachment.

How reproducible:



Steps to Reproduce:
(1) File is truncated
1. Edit the pure-ftpd main configuration file pure-ftpd.conf,set "NoTruncated  yes." 
2.Execute command: #service pure-ftpd restart
3.Uupload a  big file (More then 200 MB) to the server ,when almost 70% is landing on the server , stop the FTP Client ,then few minitues later, I try to going on the uploading process. after the FTP Client reminder that the transfer process is finished, Check the file on the server, , the size of the file only 21MB (almost equal 30% amount)

Actual results:
The file is truncated

Expected results:
The file is unbroken.

Additional info:

(2) File is become larger than normal
1)Edit the pure-ftpd.conf, set "NoTruncate no" and "KeepAllFiles yes"
2)Execute the command: #service pure-ftpd restart
3)Delete the broken file on the server, and use two FTP Clients  upload local one  again.  When one FTP Client  is running-upload the file. Then, run the other one , and upload the same file to the server on the same directory. when the tranfer process is over,check the file on the server

Actual results:
The file on the server is larger than its normal filesize.

Expected results:
The second FTP Client should get 550 Code.

Comment 1 Owen Zhao 2014-01-14 06:08:21 UTC
This bug is discovered on RHEL6,but I think it may happend on other Red Hat Linux or relevant linux issue.so, please check and fixed this bug.

Comment 2 Anssi Johansson 2014-07-28 07:32:51 UTC
pure-ftpd-1.0.36-1.el6.rf.i686 is not an EPEL package (notice the "rf"). Please contact Repoforge for support.

Comment 3 François Cami 2021-06-08 07:01:26 UTC
Closing as CANTFIX due to the comment above.


Note You need to log in before you can comment on or make changes to this bug.