Bug 2403452

Summary: Please set sys_tz by default for udisks2 exfat mounts
Product: [Fedora] Fedora Reporter: Adam Goode <adam>
Component: udisks2Assignee: Tomáš Bžatek <tbzatek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: gnome-sig, tbzatek, vtrefny
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: udisks2-2.11.1-2.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-04-25 01:32:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Goode 2025-10-13 02:22:41 UTC
When mounting an exfat volume that has localtime timestamps (like from my digital camera), udisks2 currently assumes UTC and shows the timestamps off by several hours.

The `sys_tz` mount option for exfat has been available in the kernel since 2022: https://sre.ring0.de/linux/commit/fs/exfat?id=9b002894b4c252169abc26720452bf3746114b20

This option will correctly show the timestamps at the "correct" localtime, which is the best we can do if that's how they were written. When this mount option is set, I see timestamps at the expected time (and with the same values as when mounting on macOS).

Please set this as a default, either in upstream udisks2, or as a config override as described here: https://storaged.org/doc/udisks2-api/latest/mount_options.html

I've confirmed that setting this default mount option for exfat fixes the problem on my machine.

Reproducible: Always

Steps to Reproduce:
1. Take a picture with a Sony camera on exfat mounted volume.
2. Connect the camera to the Fedora machine.
3. Look at the timestamps.
Actual Results:
The timestamps are several hours off.

Expected Results:
The timestamps are correct.

Comment 1 Tomáš Bžatek 2026-04-01 14:14:39 UTC
Upstream PR to allow more mount options: https://github.com/storaged-project/udisks/pull/1498

Unfortunately we can't turn the 'sys_tz' option on by default universally upstream as it was only added later and the kernel driver refuses unknown options, so we'd cut some userbase off. However we can afford to do that downstream.

> Steps to Reproduce:
> 1. Take a picture with a Sony camera on exfat mounted volume.

Also tested and reproduced on my Fujifilm camera which was set to my local timezone and timestamps on my SDXC memory card were off with default mount options on my machine that is set to local timezone (no UTC). The 'sys_tz' mount option fixes that and it seems like a reasonable default to me for Fedora.

Comment 2 Fedora Update System 2026-04-01 14:50:23 UTC
FEDORA-2026-9244314609 (udisks2-2.11.1-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9244314609

Comment 3 Fedora Update System 2026-04-02 01:28:38 UTC
FEDORA-2026-9244314609 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-9244314609`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-9244314609

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-04-25 01:32:34 UTC
FEDORA-2026-9244314609 (udisks2-2.11.1-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.