[Pkg-samba-maint] Bug#699461: Bug#699461: /usr/sbin/smbd: Data corruption / file truncation not working with "large readwrite" set to "no"
Ivo De Decker
ivo.dedecker at ugent.be
Thu Jan 31 17:03:52 UTC 2013
Control: tags -1 upstream
Control: found -1 2:3.5.6~dfsg-3
On Thu, Jan 31, 2013 at 05:15:26PM +0100, Tobias Vogel wrote:
> On a debian default install of samba, when setting the parameter "large
> readwrite" to "no" (which is often recommended by users in some wikis /
> blogs / communities), file truncation will not happen when rewriting /
> saving the file. When the new content's size is smaller than the old one,
> trailing garbage is left at the end and thus leaving a corrupted file on the
> This bug may also affect upstream samba, as another user with a NAS
> experienced the same behaviour:
Thank you for your bug report.
If this is not a Debian specific problem, it is best to file the bug in the
upstream samba bug tracker at https://bugzilla.samba.org/
I could create a bug report based on your information, but it is easier if you
can respond to questions from the upstream developers yourself.
When you do file a bug in the samba bugzilla, please mention the samba bug
number in this Debian bug report, so that we can add a reference.
I am also changing the found version, so that this bug also applies to the
version in wheezy. Unless someone can confirm that the problem is fixed in
newer samba versions, there is no reason to assume that the wheezy version
would not be affected.
Ivo De Decker
More information about the Pkg-samba-maint