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.

[EMAIL PROTECTED]:~$ cp -p test.txt test2.txt
[EMAIL PROTECTED]:~$ stat test*
  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:

[EMAIL PROTECTED]:~$ cp -p test.txt /media/sda2/test3.txt
cp: preservato l'orario di `/media/sda2/test3.txt': Funzione non permessa
[EMAIL PROTECTED]:~$ cp -p /media/sda2/test3.txt /media/sda2/test4.txt
cp: preservato l'orario di `/media/sda2/test4.txt': Funzione non permessa
[EMAIL PROTECTED]:~$ stat /media/sda2/test*
  File: `/media/sda2/test3.txt'
  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/sda2/test4.txt'
  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.
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: 
[EMAIL PROTECTED]:/home/carmelo#  cp -p /media/sda2/test3.txt 
/media/sda2/test5.txt
[EMAIL PROTECTED]:/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.

Is correct?

my /etc/fstab is:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda4
UUID=5b3f43f5-a935-498d-9dbb-52299fd1c696 /               ext3    
defaults,errors=remount-ro 0       1
# /dev/sda1
UUID=F8788F19788ED5B2 /media/sda1     ntfs    defaults,umask=007,gid=46 0       
1
# /dev/sda2
UUID=567ECDF67ECDCF45 /media/sda2     ntfs    defaults,umask=007,gid=46 0       
1
# /dev/sda3
UUID=d1b5bed4-2e03-4ef7-963c-439bd81c0f74 none            swap    sw            
  0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0

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?

Regards, 
Carmelo Viavattene

-- 
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