This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[samba.git] / docs / docbook / smbdotconf / misc / fakedirectorycreatetimes.xml
1 <samba:parameter name="fake directory create times"
2                  context="S"
3                  xmlns:samba="http://samba.org/common">
4 <listitem>
5         <para>NTFS and Windows VFAT file systems keep a create 
6         time for all files and directories. This is not the same as the 
7         ctime - status change time - that Unix keeps, so Samba by default 
8         reports the earliest of the various times Unix does keep. Setting 
9         this parameter for a share causes Samba to always report midnight 
10         1-1-1980 as the create time for directories.</para>
11
12         <para>This option is mainly used as a compatibility option for 
13         Visual C++ when used against Samba shares. Visual C++ generated 
14         makefiles have the object directory as a dependency for each object 
15         file, and a make rule to create the directory. Also, when NMAKE 
16         compares timestamps it uses the creation time when examining a 
17         directory. Thus the object directory will be created if it does not 
18         exist, but once it does exist it will always have an earlier 
19         timestamp than the object files it contains.</para>
20
21         <para>However, Unix time semantics mean that the create time 
22         reported by Samba will be updated whenever a file is created or 
23         or deleted in the directory.  NMAKE finds all object files in 
24         the object directory.  The timestamp of the last one built is then 
25         compared to the timestamp of the object directory.  If the 
26         directory's timestamp if newer, then all object files
27         will be rebuilt.  Enabling this option 
28         ensures directories always predate their contents and an NMAKE build 
29         will proceed as expected.</para>
30
31         <para>Default: <command moreinfo="none">fake directory create times = no</command></para>
32 </listitem>
33 </samba:parameter>