Bug 5902 - vfs_streams_xattr repots invalid file size
Summary: vfs_streams_xattr repots invalid file size
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: File services (show other bugs)
Version: 3.2.4
Hardware: x86 Linux
: P3 trivial
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 09:14 UTC by TAKAHASHI Motonobu
Modified: 2008-12-14 09:01 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TAKAHASHI Motonobu 2008-11-15 09:14:45 UTC
Enabling streams_xattr module and write as:

-----
echo test data > test1.txt:test1
-----

 and run "dir" on Windows, 
 the file size of test1.txt should be 0, but reports 12, for example.

After writing to the main stream for test1.txt like:

-----
echo test2 > test1.txt
-----

Then file size of test1.txt becomes valid, 8 bytes.
Comment 1 Jeremy Allison 2008-11-20 16:25:26 UTC
I can't reproduce this with the latest git code in 3-2-test. Can you confirm this is still a problem please ? Seems to work for me.
Jeremy.
Comment 2 TAKAHASHI Motonobu 2008-12-14 09:01:48 UTC
I tested againt Samba 3.2.6 and this bug is fixed at 3.2.6. (And not at 3.2.5).

Thanks!