MacOS X client, linux samba server and change times

Milan Roubal roubal at a-open.cz
Mon Mar 22 01:05:10 GMT 2004


Hi,
I have got problem with MacOS X client. When I try to resave file
in Adobe Photoshop on MacOS X client, on the linux server
in file soubor.psd there are wrong times. The only change is in time
"Change", but not in time "Modify", but the file was modified.
 # stat soubor.psd
  File: `soubor.psd'
  Size: 375             Blocks: 8          IO Block: 4096   Regular File
Device: 301h/769d       Inode: 144068      Links: 1
Access: (0666/-rw-rw-rw-)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2004-03-21 16:35:13.000000000 +0100
Modify: 2004-03-21 15:31:52.000000000 +0100
Change: 2004-03-21 18:55:46.000000000 +0100

The second MacOS file named ._soubor.psd has all three times
Access, Modify and Change changed to right values.
So I am asking you how to write patch to samba, that when change
time is modified than modify time is modified also.
Or is it bug, that content of file is changed and modify time isn't?
Samba version 3.0.2a, MacOS X 10.3.3
Thanx for answer
   Milan Roubal
    roubal at a-open.cz



More information about the samba-technical mailing list