Home › Knowledge base › Restored files have the wrong timestamps or permissions
Restored files have the wrong timestamps or permissions
- Article
- KB-1064
- Category
- Restore
- Applies to
- All platforms
Symptoms
Restored files show today's date as Date created, or have different permissions from the originals, or are owned by a different account.
Timestamps
The agent restores the modified time exactly. The created time is restored on NTFS. Accessed time is not restored.
Windows Explorer's default "Date" column in some views shows the created date. If you restored to a file system that does not store a creation time, or downloaded a ZIP from the console and extracted it, the created time is the time of extraction. The modified time is still correct; add the Date modified column to check.
Permissions
| Restore method | Permissions restored? |
|---|---|
| By the agent, to the original location | Yes |
| By the agent, to another folder on NTFS | Yes, unless "Inherit permissions from destination" is ticked |
| By the agent, to a different operating system | No |
| By the agent, to FAT, exFAT or a network share | No |
| Download as ZIP from the console | No |
Ownership and unknown accounts
Permissions refer to accounts by security identifier. Restoring to a machine in a different domain, or to a rebuilt standalone machine, leaves entries that show as a long S-1-5-21-… string because the account does not exist there. The data is intact. Reset permissions on the restored folder:
icacls "D:\Restore" /reset /T /C
On Linux, numeric user and group IDs are restored. If the IDs map to different names on the destination, ownership will appear wrong. Use --numeric-owner false to map by name instead.
Encrypted files (EFS)
EFS-encrypted files are backed up and restored in their encrypted form. They can only be opened by a user holding the original EFS certificate.