Date and time of the file in the file system is not maintained.

Bug #613021 reported by Matthias Homann on 2010-08-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Undecided
Unassigned

Bug Description

The date and time of the downloaded file in the file system is not maintained but instead the downloaded file has the new date and time of the time of download. This bug is only related to the file system date and time and not the EXIF information in the file.

It has beed abserved on Ubuntu 10.04 AMD64 with ext4 and NTFS file systems.

Sample of a downloaded file which is renamed with the EXIF date and time (and the photo index number):
$ ls -l
-rwxrw-r-- 1 root users 2960661 2010-08-01 09:41 2010_07_30-19_59_31-4862.JPG

In the above sample the file system date is different from the EXIF date. The original file on the SD card had the same date on the file system as in the EXIF information.

Damon Lynch (dlynch3) wrote :

Sorry I did not have time to look at this for 0.3.1

Damon Lynch (dlynch3) wrote :

I cannot replicate this. The file system modification time is unaltered. The file accessed time is updated, if your file system is configured to allow that.

Changed in rapid:
status: New → Invalid
Matthias Homann (palto) wrote :

Thanks for trying to replicate my issue.
I tried again with the latest version and still the system modification time of the downlowded pictures is set to the time of the download. Maybe it's specific to my system configuration. I will try to test on another PC and if possible other OS.

Damon Lynch (dlynch3) wrote :

Can you copy and paste the relevant lines from the /etc/fstab file, indicating which file system you are downloading to?

Matthias Homann (palto) wrote :

After some more searching and testing I found the solution of my problem. It is not related to Rapid Photo Downloade but to the ntfs libary. Interestingly the fstab options for my ntfs partition also has an effect on the result when downloading to the ext3 partition!

My old fstab entry for the NTFS was
/dev/sdb1 /mnt/data ntfs defaults,uid=0,gid=users,fmask=013,dmask=002,locale=de_DE.utf8 0 0

I changed it to the simple basic version
/dev/sdb1 /mnt/data ntfs defaults 0 0

The fstab entry for the ext3 is unchanged
UUID=549be4bf-59b5-42cb-9acc-447c36dddc77 / ext4 errors=remount-ro 0 1

The ntfs-3g driver version is 1:2010.3.6-1ubuntu1

Thanks again for your help and this great software!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers