Ticket #273 (reopened defect)
bad Modify timestamps on files copied from OS/2 LANMAN CIFS mount to local filesystem
| Reported by: | mrmazda | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 4.7 |
| Component: | mc-vfs | Version: | 4.7.0.3 |
| Severity: | no branch | Keywords: | |
| Cc: | Votes for changeset: | ||
| Blocking: | Blocked By: |
Description
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


