Support set modified date when connecting Android via GVfs

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
a-bentofreire
Level 2
Level 2
Posts: 82
Joined: Sat Jan 14, 2017 4:02 am

Support set modified date when connecting Android via GVfs

Post by a-bentofreire »

Hi

I'm connecting my android via USB cable, which allows me to move/copy files between Mint and the Android.
Linux Mint uses GVfs (https://en.wikipedia.org/wiki/GVfs) to create a virtual filesystem.
The mounted filesystem path is: /run/user/1000/gvfs/mtp:host=MY_PHONE/Internal storage
However when I copy a file from Mint into this path or any subpath, the stored file doesn't preserves the file modified date.
Instead it sets with the copy datetime.
Also if I try to touch the file on that virtual filesystem, it returns an error with 'Operation not supported'.

Is there anyway to configure GVfs in order when the file is copied it preserves the file modified date?
Last edited by LockBot on Mon May 22, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”