• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Set the Backup Date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSMenu bug
  • Next by Date: Text system's white "descender gap" below images
  • Previous by thread: Re: NSMenu bug
  • Next by thread: Text system's white "descender gap" below images
  • Index(es):
    • Date
    • Thread