Set correct Timestamp on files copied to internal storage (in root mode, Android 7 and prior))
Problem: on all Android versions 7 and prior that use FUSE, a well known bug exists that causes the timestamp on all files copied to internal storage to be set to current OS time. And it's not possible to change any file attributes without root privileges.
Solution: on phones where root is present, explicitly set the timestamp on each copied file to that of the source file after each copy operation. This behavior would be consistent with pretty much every OS in existance. Ideally if possible this should be done universally on all copy operations as long as root is present -- not just when the user access file system in root:/# mode.
-
A commented
Actually this is also true for copying from SD to SD... In comparison, Total Commander has a dialog that allows a user to manually set this timestamp, but it fails, when you try it. Ghost Commander regrettably doesn't even have such a dialog...