Bug 247786 - vsftpd creates files with incorrect permissions
Summary: vsftpd creates files with incorrect permissions
Status: CLOSED DUPLICATE of bug 244686
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: vsftpd
Version: 3.9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Maros Barabas
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-07-11 13:30 UTC by Chris Langlands
Modified: 2007-11-17 01:14 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-07-12 08:03:06 UTC

Attachments (Terms of Use)

Description Chris Langlands 2007-07-11 13:30:48 UTC
Since Update 9, users who upload files via vsftpd service have been reporting
unusal permissions-based problems.  Situation has been going on since U9, but
all affected users happened to be using the same FTP client (Transmit on Mac) so
I had put it down to that.  It wasn't until today that I tested the situation
myself using lftp, and I can confirm unusual permissions behaviour with the U9
release of vsftpd.

Version-Release number of selected component:


Not affected:


Steps to reproduce:

1. I take a file with 644 permissions.

  -rw-r--r--  1 cpaul users  3380 Jul 12  2006 TEXTFILE

2. Upload it

  lftp cpaul@fastmedia.com:/> put TEXTFILE
3. Check the remote listing

  lftp cpaul@fastmedia.com:/> ls -la
  ----rw-r-x    1 501 501  3380 Jul 11 06:27 TEXTFILE

4. Downgrade vsftpd to vsftpd-1.2.1-3E.6 and repeat

  lftp cpaul@fastmedia.com:/> put TEXTFILE
  lftp cpaul@fastmedia.com:/> ls -la
  -rw-r--r--    1 501 501  3380 Jul 11 06:28 REFACTOR

Possibility that the problem was introduced during this fix?

The problem was also mentioned on taroon list here:

The only local config in my vsftpd.conf is listed below:


Comment 1 Maros Barabas 2007-07-12 08:03:06 UTC

*** This bug has been marked as a duplicate of 244686 ***

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