Re: Locking Files?
Re: Locking Files?
- Subject: Re: Locking Files?
- From: "Josh M. Hurd" <email@hidden>
- Date: Fri, 7 Sep 2001 12:18:24 -0700
Is it possible to lock and unlock files in Cocoa? I checked the
NSFileManger docs but it doesn't seem to mention anything about locking
files. I also checked the Functions section for Foundation and AppKit.
Do I have to resort to using Carbon functions? I'd rather not if
possible.
Sorry folks,
I wasn't clear in my question. I am looking for a way to lock a file
'Finder style.' As if I had clicked the Locked checkbox in the Finders
Info Panel. Not locking to protect an open file from other processes or
threads.
Thanks and sorry for the lack of clarity.
M