Is not a Nautilus problem.
To search the problem, i go to a complete re-install of my Ubuntu 7.10.
Now, i check all.
The ntfs-3g installed in my computer is version 1:1.913-2ubuntu1.
My computer have only a hard disk:
sda1 is a Windows XP C: drive, filesystem NTFS
sda2 is a Windows D: drive, filesystem NTFS
sda3 is swap linux
sda4 is / linux, filesystem ext3.
Then, I go to copy a test file not in Nautilus (then, is not a Nautilus problem).
I use the terminal.
The file is test.txt
I copy from terminal and paste in this comment.
The modify time of test.txt (origin) and of test2.txt (destination) is the same, and is OK.
In a view of Nautilus, i see the modify time, and is OK.
And now, copy in NTFS drive:
I think this is the problem is at the cp command.
cp: preservato l'orario di `/media/sda2/test3.txt': Funzione non permessa
Transaltion from my italian language is:
cp: preserved the time of `/media/sda2/test3.txt': function not permitted
I see You have access different from my access
You: Access: (0664/-rw-rw-r--)
In my computer:
filesystem ext3: Access: (0644/-rw-r--r--)
filesystem ntfs: Access: (0770/-rwxrwx---)
Then, if i work in superuser mode:
su
Parola d'ordine:
root@ubuntu-laptop:/home/carmelo# cp -p /media/sda2/test3.txt /media/sda2/test5.txt
root@ubuntu-laptop:/home/carmelo# stat /media/sda2/test5*
File: `/media/sda2/test5.txt'
Size: 17 Blocks: 1 IO Block: 4096 file normale
Device: 802h/2050d Inode: 6301 Links: 1
Access: (0770/-rwxrwx---) Uid: ( 0/ root) Gid: ( 46/ plugdev)
Access: 2007-11-01 20:08:19.000000000 +0100
Modify: 2007-11-01 20:08:19.000000000 +0100
Change: 2007-11-01 20:08:19.000000000 +0100
And I not have the problems of preserving the time.
If, from terminal, i start Nautilus, copy and paste a file is OK.
Now, my report is not of a bug, and i can confirm: is not a BUG of NTFS-3G!!!
Sorry.
At this point, the solution is:
A correct acces for the user to not have my problems with NTFS filesystem (must be Ubuntu to set this) is:
change the permission of all NTFS filesystem at the same level of ext3 filesystem.
And now, if I change
UUID=567ECDF67ECDCF45 /media/sda2 ntfs defaults,umask=007,gid=46 0 1
in:
UUID=567ECDF67ECDCF45 /media/sda2 ntfs defaults,umask=000,gid=46 0 1
can be I solve the problem of preserving the modify time?
Is not a Nautilus problem.
To search the problem, i go to a complete re-install of my Ubuntu 7.10.
Now, i check all.
The ntfs-3g installed in my computer is version 1:1.913-2ubuntu1.
My computer have only a hard disk:
sda1 is a Windows XP C: drive, filesystem NTFS
sda2 is a Windows D: drive, filesystem NTFS
sda3 is swap linux
sda4 is / linux, filesystem ext3.
Then, I go to copy a test file not in Nautilus (then, is not a Nautilus problem).
I use the terminal.
The file is test.txt
I copy from terminal and paste in this comment.
carmelo@ ubuntu- laptop: ~$ cp -p test.txt test2.txt ubuntu- laptop: ~$ stat test*
carmelo@
File: `test2.txt'
Size: 17 Blocks: 8 IO Block: 4096 file normale
Device: 804h/2052d Inode: 66960 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ carmelo) Gid: ( 1000/ carmelo)
Access: 2007-11-01 20:04:59.000000000 +0100
Modify: 2007-11-01 20:04:58.000000000 +0100
Change: 2007-11-01 20:05:58.000000000 +0100
File: `test.txt'
Size: 17 Blocks: 8 IO Block: 4096 file normale
Device: 804h/2052d Inode: 66956 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ carmelo) Gid: ( 1000/ carmelo)
Access: 2007-11-01 20:05:58.000000000 +0100
Modify: 2007-11-01 20:04:58.000000000 +0100
Change: 2007-11-01 20:04:58.000000000 +0100
File: `test.txt~'
Size: 0 Blocks: 0 IO Block: 4096 file normale vuoto
Device: 804h/2052d Inode: 66948 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ carmelo) Gid: ( 1000/ carmelo)
Access: 2007-11-01 20:04:44.000000000 +0100
Modify: 2007-11-01 20:04:37.000000000 +0100
Change: 2007-11-01 20:04:58.000000000 +0100
The modify time of test.txt (origin) and of test2.txt (destination) is the same, and is OK.
In a view of Nautilus, i see the modify time, and is OK.
And now, copy in NTFS drive:
carmelo@ ubuntu- laptop: ~$ cp -p test.txt /media/ sda2/test3. txt sda2/test3. txt': Funzione non permessa ubuntu- laptop: ~$ cp -p /media/ sda2/test3. txt /media/ sda2/test4. txt sda2/test4. txt': Funzione non permessa ubuntu- laptop: ~$ stat /media/sda2/test* sda2/test3. txt' sda2/test4. txt'
cp: preservato l'orario di `/media/
carmelo@
cp: preservato l'orario di `/media/
carmelo@
File: `/media/
Size: 17 Blocks: 1 IO Block: 4096 file normale
Device: 802h/2050d Inode: 6299 Links: 1
Access: (0770/-rwxrwx---) Uid: ( 0/ root) Gid: ( 46/ plugdev)
Access: 2007-11-01 20:08:19.000000000 +0100
Modify: 2007-11-01 20:08:19.000000000 +0100
Change: 2007-11-01 20:08:19.000000000 +0100
File: `/media/
Size: 17 Blocks: 1 IO Block: 4096 file normale
Device: 802h/2050d Inode: 6300 Links: 1
Access: (0770/-rwxrwx---) Uid: ( 0/ root) Gid: ( 46/ plugdev)
Access: 2007-11-01 20:09:58.000000000 +0100
Modify: 2007-11-01 20:09:58.000000000 +0100
Change: 2007-11-01 20:09:58.000000000 +0100
I think this is the problem is at the cp command. sda2/test3. txt': Funzione non permessa sda2/test3. txt': function not permitted
cp: preservato l'orario di `/media/
Transaltion from my italian language is:
cp: preserved the time of `/media/
I see You have access different from my access
You: Access: (0664/-rw-rw-r--)
In my computer:
filesystem ext3: Access: (0644/-rw-r--r--)
filesystem ntfs: Access: (0770/-rwxrwx---)
Then, if i work in superuser mode: laptop: /home/carmelo# cp -p /media/ sda2/test3. txt /media/ sda2/test5. txt laptop: /home/carmelo# stat /media/sda2/test5* sda2/test5. txt'
su
Parola d'ordine:
root@ubuntu-
root@ubuntu-
File: `/media/
Size: 17 Blocks: 1 IO Block: 4096 file normale
Device: 802h/2050d Inode: 6301 Links: 1
Access: (0770/-rwxrwx---) Uid: ( 0/ root) Gid: ( 46/ plugdev)
Access: 2007-11-01 20:08:19.000000000 +0100
Modify: 2007-11-01 20:08:19.000000000 +0100
Change: 2007-11-01 20:08:19.000000000 +0100
And I not have the problems of preserving the time.
If, from terminal, i start Nautilus, copy and paste a file is OK.
Now, my report is not of a bug, and i can confirm: is not a BUG of NTFS-3G!!!
Sorry.
At this point, the solution is:
A correct acces for the user to not have my problems with NTFS filesystem (must be Ubuntu to set this) is:
change the permission of all NTFS filesystem at the same level of ext3 filesystem.
Is correct?
my /etc/fstab is:
# /etc/fstab: static file system information. a935-498d- 9dbb-52299fd1c6 96 / ext3 defaults, errors= remount- ro 0 1 8ED5B2 /media/sda1 ntfs defaults, umask=007, gid=46 0 1 CDCF45 /media/sda2 ntfs defaults, umask=007, gid=46 0 1 2e03-4ef7- 963c-439bd81c0f 74 none swap sw 0 0
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda4
UUID=5b3f43f5-
# /dev/sda1
UUID=F8788F1978
# /dev/sda2
UUID=567ECDF67E
# /dev/sda3
UUID=d1b5bed4-
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
And now, if I change CDCF45 /media/sda2 ntfs defaults, umask=007, gid=46 0 1 CDCF45 /media/sda2 ntfs defaults, umask=000, gid=46 0 1
UUID=567ECDF67E
in:
UUID=567ECDF67E
can be I solve the problem of preserving the modify time?
Regards,
Carmelo Viavattene