Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-15 Thread Dragan Krnic
I wasn't clear enough perhaps. Maybe. 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. Now, that is strange. Setting the readonly attribute would

Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-15 Thread Holger Krull
Now, that is strange. Setting the readonly attribute attrib +r filename If you know how to use cmd.exe. If not use explorer, right click, mark readonly. would change this, but this may not be a solution for your problem. Try to revoke the right to 'write extended attributes' for everyone,

Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-15 Thread Dragan Krnic
Now, that is strange. Setting the readonly attribute attrib +r filename If you know how to use cmd.exe. If not use explorer, right click, mark readonly. would change this, but this may not be a solution for your problem. Try to revoke the right to 'write extended attributes' for

Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-14 Thread Holger Krull
Dragan Krnic schrieb: 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.

Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-14 Thread Dragan Krnic
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

Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-14 Thread Dragan Krnic
I remember there is a option called 'dos filetime resolution' for visual c problems, maybe this helps you. This option was supposed to only fake the DOS FAT time resolution of 2s and there's another one which forces the faked 2s-resolution even when a Win client asks for 1s-resolution

Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-14 Thread Holger Krull
I wasn't clear enough perhaps. Maybe. 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. Now, that is strange. Setting the readonly attribute would change

[Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares

2003-12-13 Thread Dragan Krnic
Setting this dword to 1 in HKLM/CurrentControlSet/Control/FileSystem is supposed to suppress updates of a file's Access Time attribute when browsing but even read-only accesses with NotePad or plain copy leave no traces. However, if you cp or cat (or for that matter tar) a file on an