Pondini wrote:
How old is this folder, and the files in it? Could it have been created under a previous version of OSX?
I'm a bit out of my comfort zone here, but I understand there were differences in the default permissions on older versions, and that some of the users assigned there no longer exist. Perhaps that's what's confusing Time Machine.
Does the folder in question show the _unknown or fetching... users? If so, let's try an experiment:
That is an interesting question. Many of my folders were migrated over from 10.4.
I tried your experiment and deleted user "_unknown" and copied to all for a folder. Interestingly, when I tried to restore this time, I got "The Finder can’t complete the operation because some data in “filename” can’t be read or written. (Error code -36)". The portion it did restore has (Me) with "Custom". Then, in place of "_unknown" it has (Me) a second time with "Read & Write". Then everyone with Read only.
Interestingly, I was able to recover a different folder of documents from 10.4, but not a folder of spreadsheets from 10.4. When I tried recovery, I sent them to a new folder, so as not to replace an existing folder.
I did a get-Info of the exisiting and recovered via TM folders. The original has "_unknown" with Read only permissions. The failed replacement (which has several nested folders), does not have a "_unknown" but instead has an "admin" in its place with Read only. Both have "everyone" with Read only, and me with Read & Write.
The folder that I was able to restore successfully also has "_unknown" most with Read only, a couple with "_unknown" with Read & Write. So it appears that folders with "_unknown" can be successfully restored from TM.
I restored a documents folder (not the User "Documents" folder), from the beginning of Time Machine backups to the new folder successfully with 3.68 GB of data. It retains the "_unknown", in this case, Read & Write.
I can restore THE entire user Documents folder from the most recent backup (which has 23.76 GB) without a problem. But here is where it really gets odd: when I try to restore a subfolder of the Documents folder, I get a permissions error. This is despite having successfully restored all that data when I restored the user Documents folder. It appears to hiccup on a folder where "_unknown" has Read & Write, but "everyone" has no access. It also hiccups on the next folder where there is not an "_unknown" user, but "everyone" has Read & Write - although the first file within that folder has "everyone" with no access.
When I go back and look at that file that I successfully restored when I restored User Documents, that file still maintains"_unknown" with Read & Write, but "everyone" with no access. So in this case, "everyone" having no access correlates to being unable to restore from TM. [However, the other folder, which is now missing "_unknown" does have "everyone" with Read only and it cannot be restored from TM. I was looking back at the 10.4 computer where these files came from. While most have been deleted, those few that remain have a Group (unknown) with Read & Write access, with Others as no access.]
It seems my permissions are a convoluted mess. I have run repair permissions from Disk Utililty. I have also run it from AppleJack. Is it time to repair permissions from the original Mac 10.6 boot DVD?