[Midnight Commander] #273: bad Modify timestamps on files copied from OS/2 LANMAN CIFS mount to local filesystem

Ticket System tickets at midnight-commander.org
Mon Feb 16 15:52:07 UTC 2009


#273: bad Modify timestamps on files copied from OS/2 LANMAN CIFS mount to local
filesystem
------------------------+---------------------------------------------------
 Reporter:  mrmazda     |        Type:  defect 
   Status:  new         |    Priority:  major  
Milestone:  4.7         |   Component:  mc-core
  Version:  4.6.2~pre1  |    Keywords:         
 Blocking:              |   Blockedby:         
------------------------+---------------------------------------------------
 To reproduce:
 1-mount an OS/2 or eComStation legacy LANMAN share via CIFS
 2-navigate to the mounted share
 3-select a file
 4-F5 <ENTER>
 5-Tab
 6-stat the copied file

 Actual behavior:
   File: `et6g.lst'
   Size: 251             Blocks: 2          IO Block: 1024   regular file
 Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
 ...Modify: 1940-10-23 21:26:18.000000000 -0500...

 Expected behavior:
   File: `et6g.lst'
   Size: 251             Blocks: 2          IO Block: 1024   regular file
 Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
 ...Modify: 1997-08-26 02:22:26.000000000 -0400...

 Notes:
 1-expected behavior is from copying file using cp -a instead of mc
 2-with older kernels and smbfs mounting of the OS/2 share, mc copy results
 in correct Modify timestamp
 3-CIFS test made using EXT3 target on openSUSE 11.1:
   mc-4.6.2.pre1-120.24
   cifs-mount-3.2.4-11.5
   kernel-pae-2.6.27.7-3.1
 4-broken mc behavior is the same with version shipped with openSUSE 11.0
 and 10.3 and Fedora 10

-- 
Ticket URL: <www.midnight-commander.org/ticket/273>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list