[Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

Dragan Krnic dkrnic at lycos.com
Sun Dec 14 15:04:46 GMT 2003


>> updated regardless of the setting of 
>> NtfsDisableLastAccessUpdate.
>
> This disables the access update, means read access.
>
> If you cp this is write access, this will update the 
> change time and i don't think you can disable this.
>
> access and change update are 2 seperate fields.

I wasn't clear enough perhaps. I'm talking about the 
original file. If NtfsDisableLastAccessUpdate is set 
to 1 then the original file's LastAccessTime won't
be updated after a DOS copy command, but it will if
I use cp on an smbmounted volume. The destination file
will of course have both LastAccessTime and CretionTime
set to the current time. Like this:

   C:\Temp>dir /t:a a.xml
   12.12.2003  18:02              168.346 a.xml

   C:\Temp>copy a.xml b.xml
        1 Datei(en) kopiert.

   C:\Temp>dir /t:a a.xml b.xml
   12.12.2003  18:02              168.346 a.xml
   14.12.2003  15:59              168.346 b.xml

   C:\Temp>dir /t:c a.xml b.xml
   02.01.1997  16:24              168.346 a.xml
   14.12.2003  15:59              168.346 b.xml

   C:\Temp>dir /t:w a.xml b.xml
   04.12.2003  11:24              168.346 a.xml
   04.12.2003  11:24              168.346 b.xml


More information about the samba mailing list