Re: How to Identify a Phantom Write Operation

2012-09-05 Thread douglas welton
Graham, I reconfigured my code to load the cached copy of the user-selected movie with the QTMovieResolveDataRefsAttribute set to NO. I don't get any new/additional messages sent to the console. In your experience, is this an indication that i am *not* writing to the source QT file (via some

Re: How to Identify a Phantom Write Operation

2012-09-05 Thread Graham Cox
On 06/09/2012, at 4:51 AM, douglas welton douglas_wel...@earthlink.net wrote: I reconfigured my code to load the cached copy of the user-selected movie with the QTMovieResolveDataRefsAttribute set to NO. I don't get any new/additional messages sent to the console. In your experience, is

Re: How to Identify a Phantom Write Operation

2012-09-05 Thread Stephen J. Butler
On Wed, Sep 5, 2012 at 1:51 PM, douglas welton douglas_wel...@earthlink.net wrote: I reconfigured my code to load the cached copy of the user-selected movie with the QTMovieResolveDataRefsAttribute set to NO. I don't get any new/additional messages sent to the console. In your experience,

How to Identify a Phantom Write Operation

2012-09-04 Thread douglas welton
Hi All, I'm trying to get an app approved for the Mac App Store. The reviewer says that my app is writing to a certain user-selected file without the user's permission. I don't see any evidence of writing to this file, but my knowledge of the file system internals may be insufficient to help

Re: How to Identify a Phantom Write Operation

2012-09-04 Thread Graham Cox
On 05/09/2012, at 8:17 AM, douglas welton douglas_wel...@earthlink.net wrote: 2) I copy the selected file to the ~/Library/Caches folder within my sand box container (using NSFileManager's -movieItemAtURL: method). Well, that's not actually copying the file. Not sure if that makes a

Re: How to Identify a Phantom Write Operation

2012-09-04 Thread douglas welton
That's a typo on my part. I really do copy the file using NSFileManager's -copyItemAtURL: method. Sorry for the confusion. On Sep 4, 2012, at 6:47 PM, Graham Cox wrote: On 05/09/2012, at 8:17 AM, douglas welton douglas_wel...@earthlink.net wrote: 2) I copy the selected file to the

Re: How to Identify a Phantom Write Operation

2012-09-04 Thread Todd Heberlein
On Sep 4, 2012, at 3:17 PM, douglas welton douglas_wel...@earthlink.net wrote: My question: Is there another way to check for writes to the user-selected source file? You can use Apple's BSM audit trails. It will show all attempted reads and writes and gobs of other things by your process.