vfs_set_filelen function problem on FAT file systems.

Rupesh Kumar a.rupesh.k at gmail.com
Wed Jun 11 09:27:08 GMT 2008


On Wed, Jun 11, 2008 at 1:53 PM, Volker Lendecke <Volker.Lendecke at sernet.de>
wrote:

> On Wed, Jun 11, 2008 at 01:42:27PM +0530, Rupesh Kumar wrote:
> > What are your views on reporting vfs_set_filelen as success without
> > truncating the file to the size requested. Does this have any side
> effects.
>
> Yes, it does. We can not report the correct file size that
> Windows clients expect anyore. This will break a lot of
> applications.


I understand that we cant report the correct size while copying.
But what kind of applications can ask for the file size while copying.


Regards
Rupesh Kumar


More information about the samba-technical mailing list