Ntfs-3g updates the times the same way as other file systems.

ext3:
# stat test1
  File: `test1'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 805h/2053d      Inode: 2275396     Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1004/   szaka)   Gid: (  100/   users)
Access: 2007-11-01 16:41:52.000000000 +0200
Modify: 2007-11-01 16:41:52.000000000 +0200
Change: 2007-11-01 16:41:52.000000000 +0200

# /bin/cp -p test1 test2
# stat test2
  File: `test2'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 805h/2053d      Inode: 3023826     Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1004/   szaka)   Gid: (  100/   users)
Access: 2007-11-01 16:41:52.000000000 +0200
Modify: 2007-11-01 16:41:52.000000000 +0200
Change: 2007-11-01 16:42:05.000000000 +0200


ntfs-3g:
# stat test1
   File: `test1'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 806h/2054d      Inode: 60          Links: 1
Access: (0664/-rw-rw-r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2007-11-01 16:41:01.000000000 +0200
Modify: 2007-11-01 16:41:01.000000000 +0200
Change: 2007-11-01 16:41:01.000000000 +0200

# /bin/cp -p test1 test2
# stat test2
  File: `test2'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 806h/2054d      Inode: 61          Links: 1
Access: (0664/-rw-rw-r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2007-11-01 16:41:01.000000000 +0200
Modify: 2007-11-01 16:41:01.000000000 +0200
Change: 2007-11-01 16:41:15.000000000 +0200

In both cases the modification time is unchanged and the change time is
the last inode modification time as the Single Unix Specification
requires.

-- 
Copyng a file to a NTFS drive change the date and the time of the file
https://bugs.launchpad.net/bugs/157396
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to