Hello,
I'm using the latest version 2.8.
I'm trying to change the timestamp of a jpg file by showing the Properties and clicking on Now and then Apply. I'm getting a Warning: Access denied (1x) image.jpg
In the Settings - Application Manager - Total Commander - app permissions the storage is selected.
What else should I do to be able to change the timestamp?
Thanks
Changing the Properties does not work
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunarely this is a very longtime Android bug: It's not possible to set/copy the timestamp of files on Android due to missing permissions of the user to set them. Only the root user is allowed to set/copy the timestamp.
Here are the relevant bug reports in the Android bug tracker:
File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992
setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624
File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460
It works with root rights, but I wouldn't root your device just for this function.
Here are the relevant bug reports in the Android bug tracker:
File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992
setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624
File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460
It works with root rights, but I wouldn't root your device just for this function.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com