[Bug 1192328] New: copy files form exFAT with --preserve=timestamps
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1192328 Bug ID: 1192328 Summary: copy files form exFAT with --preserve=timestamps Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: x86-64 OS: openSUSE Leap 15.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: wilms@pre-sense.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 853522 --> http://bugzilla.opensuse.org/attachment.cgi?id=853522&action=edit 5M exFAT partition for reproducing the error When mounting an exFAT partition in read-only mode: mount -o ro /path/to/partition /mountpoint and then trying to copy a file with: cp --preserve=timestamps /path/to/file/on/exfat /path/to/target/file then cp shows the following error: cp: preserving times for '/path/to/target/file': Invalid argument The file is copied but the timestamp is set to the current system time instead of the correct timestamp. This error occurs in a openSUSE Leap 15.3 Installation and also in the openSUSE Leap 15.3 LiveCD version. This error _does not_ occur when using Tumbleweed, which uses the native kernel implementation of exFAT due to having a more recent kernel afaik. Attached a qemu img with a 5M exFAT partition and a testfile easily reproduce the error. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1192328 http://bugzilla.opensuse.org/show_bug.cgi?id=1192328#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com Assignee|kernel-bugs@opensuse.org |rgoldwyn@suse.com --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- Something for filesystem team. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1192328 http://bugzilla.opensuse.org/show_bug.cgi?id=1192328#c2 --- Comment #2 from Goldwyn Rodrigues <rgoldwyn@suse.com> --- Following patches submitted as fix: 674a9985b8e3 ("exfat: properly set s_time_gran") 81df1ad40644 ("exfat: truncate atimes to 2s granularity") -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1192328 http://bugzilla.opensuse.org/show_bug.cgi?id=1192328#c5 --- Comment #5 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1192328) was mentioned in https://build.opensuse.org/request/show/933172 15.2 / kernel-source -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1192328 http://bugzilla.opensuse.org/show_bug.cgi?id=1192328#c15 Moritz Duge <duge@pre-sense.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |duge@pre-sense.de --- Comment #15 from Moritz Duge <duge@pre-sense.de> --- Will there be a regular 15.3 patch? Not just for 15.2 or for Azure. Even the latest 15.3 patch openSUSE-SU-2021:3876-1 (2021-12-02) did not reference this ticket. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com