From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.1-0.1.9 i686; en-US; 0.7)
Steps to Reproduce:
1. Setup SAMBA and QUOTA on the same machine with the same partition/share
2. Copy files from a remote windows machine to the samba machine
3. When you hit the soft limit "Disk Full" will appear but the file being
copied appears to be ok
4. Continue to copy files; each time you will get "Disk Full" however the
files copied will be of the correct size but will be gibberish; labeled
"ASCII TEXT" instead of correct file type.
5. When you reach the hard limit it will continue the same behavior allow
the user to occupy more space on the drive than is available with quota
Actual Results: See above
Expected Results: When you hit the soft limit the file being copied should
continue to be copied (asuming is doesn't reach the hard limit) however any
additional copies will result in "Disk Full" on the windows machine
I have a patch that came from our Japanese office who recieved it from IBM;
this patch has been tested and results in the expected behaviour; however
we have not attempted to sanatize this patch for anything other than
correct end result behaviour. If samba is left as is it will appear to
write the correct amount of data once you pass the quota limit; however the
data written is not the file sent cause a loss of data.
In addition the Japanese office has an outstanding request for a
fix/workaround to the above problem that they need an offical fix for.
Created attachment 14143 [details]
The patch that was described in the bug report
Bug #31632 is the entry from the Japanese office
This patch is BROKEN.
See original bug report.
*** This bug has been marked as a duplicate of 31632 ***