pure-ftpd leaks space in quota calculation
Bug #663849 reported by
Vihai
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pure-ftpd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pure-ftpd
pure-ftpd-
(I'm actually using pure-ftpd-
I'm using quota support. The issues shows up when a rename overwrites an existing file.
# cat .ftpquota
0 0
> put test1
100000 bytes transferred in 3 seconds (36.5K/s)
# cat .ftpquota
1 100000
> put test2
1000 bytes transferred
# cat .ftpquota
2 101000
> mv test2 test1
rename successful
# cat .ftpquota
2 2000
It appears that instead of subtracting the size of the overwritten file, the size of overwriting file is subtracted and the size of the overwritten file is added again.
To post a comment you must log in.
Hello,
This bug has been fixed in pure-ftpd 1.0.35.