Bug 242645 - sysutils/fusefs-exfat: cannot set modification timestamp (utimes(2))
Summary: sysutils/fusefs-exfat: cannot set modification timestamp (utimes(2))
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Oleksii Samorukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-15 09:03 UTC by Martin Birgmeier
Modified: 2019-12-15 09:06 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (samm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2019-12-15 09:03:11 UTC
Scenario:
- FreeBSD 12.1
- All ports recompiled for 12.1
- Using a combination of tar cf - ... | ( cd <exfat-fs> ; tar xfp - ) to copy files to an exfat-formatted SD card

Result:
- Since a few weeks, the receiving tar gives messages like

x <filename>: Can't restore time

- I believe this started to happen when I installed FreeBSD 12.1 and recompiled all ports
- The file contents are otherwise o.k. (verified using diff -r)

Scenario (continued):
- I have written a small utility "cptimes" which copies the atime and mtime from one file to another

Result:
- Trying to use this utility to correct these times manually results in

[1]% cptimes <sourcefile> <destinationfile>
<destinationfile>: Operation not permitted
[1]% 

-- Martin
Comment 1 Martin Birgmeier 2019-12-15 09:06:47 UTC
One more note: The same commands on another SD-card which is formatted as NTFS and uses sysutils/fusefs-ntfs work fine.