Red Hat Bugzilla – Bug 75389
problems with "magic cookies" in ftpaccess
Last modified: 2007-04-18 12:47:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
When trying to use the "magic cookies" in a .message file so that quota
restricitions and current disk usage will be displayed to ftp users, all I get
back is a zero. I was using the %B, %b, and %Q options as defined in the man
pages for ftpaccess. I made sure that the user had some of their quota space
used up so I wouldn't get a zero back.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Set up quotas on the partition that users will be ftping to
2.create a .message file in the users directoy that they are ftping to and add a
line(s) similar to this: Total amount of space allocated is %B. current usage
3.Login to your ftp server and see what is displayed in the welcome message for
Actual Results: Instead of a number returned of the amount of disk space that
was being taken up by the user, I got back a zero.
Expected Results: I should have gotten back a number that was equal to the
number of blocks that was currently allocated to the user and how much disk
space they were currently using.
Please use vsftpd instead. wu-ftpd is not maintained anymore.