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 [details]
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: