Set the Backup Date
Set the Backup Date
- Subject: Set the Backup Date
- From: Lorenzo Puleo <email@hidden>
- Date: Mon, 10 Feb 2003 15:38:04 +0100
Hi,
since Cocoa fileAttributes have not the backup date field, I am trying to
set the backup date of a file using the old
err = FSSetCatalogInfo(&destRef, kFSCatInfoBackupDate, &theInfo, nil, nil,
nil);
It works well only on files placed on my local volumes.
Even if I own all the permissions on the destination file,
at the end, the backup date of the file is equal to its modification date.
That's wrong. And most of all, FSSetCatalogInfo returns noErr always!
Also I tried PBSetCatInfoSync but I got the same result.
I suppose it's a OS bug.
Anyway, is there someone knowing a workaround? Thank you.
Regards
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.