Bug 2774 - sparse file attribute not set when storing dos attributes
Summary: sparse file attribute not set when storing dos attributes
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.20
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-06-06 23:24 UTC by James Peach
Modified: 2006-04-08 07:43 UTC (History)
0 users

See Also:

set FILE_ATTRIBUTE_SPARSE (1.17 KB, patch)
2005-06-06 23:25 UTC, James Peach
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Peach 2005-06-06 23:24:12 UTC
In dosmode.c:dosmode(), if get_ea_dos_attribute() succeeds, we never set
FILE_ATTRIBUTE_SPARSE in the result. I doubt clients really notice this, but
it's on my bug list and I have a patch ..
Comment 1 James Peach 2005-06-06 23:25:26 UTC
Created attachment 1262 [details]

This patch always tries to set FILE_ATTRIBUTE_SPARSE, irrespective of whether
lp_store_dos_attributes is on or not.
Comment 2 Jeremy Allison 2005-06-09 17:31:58 UTC
Applied, thanks.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:19:58 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2006-04-08 07:43:47 UTC
Cleaning up versions.  There was no 3.0.15 so leaving it in bugzilla 
is causing some confusion.  Moving these nuder 3.0.20.
Originally files against 3.0.15preX.