Bug 498431 - pure-ftpd "SITE UTIME" command sets incorrect time
Summary: pure-ftpd "SITE UTIME" command sets incorrect time
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: pure-ftpd
Version: el5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-30 13:40 UTC by Nickolay Bunev
Modified: 2009-05-08 17:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-08 17:28:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch based on a debian bug report (395 bytes, patch)
2009-04-30 13:40 UTC, Nickolay Bunev
no flags Details | Diff

Description Nickolay Bunev 2009-04-30 13:40:08 UTC
Created attachment 341922 [details]
patch based on a debian bug report

Description of problem:

PureFTPd (as of version 1.0.21) suffers from a bug when setting the date/time of a file on the server using the SITE UTIME command. The file on the server gets a time which is off by several hours.

Version-Release number of selected component (if applicable):
1.0.21

How reproducible:


Steps to Reproduce:
1. Install pure-ftpd
2. Upload some file to the server with ncftp for example
3.
  
Actual results:

local and remote files have different timestamps. Two hours in my case.

Expected results:

identical timestamps of local and remote files


Additional info:

http://www.smartftp.com/support/kb/pureftpd-utime-bug-f2615.html

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499926

Comment 1 Lubomir Rintel 2009-05-08 17:28:42 UTC
Thanks. Applied and built in pure-ftpd-1.0.21-16.el5.


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