• 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
Re: Checking if a file is Locked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking if a file is Locked


  • Subject: Re: Checking if a file is Locked
  • From: Ryan Britton <email@hidden>
  • Date: Tue, 28 Nov 2006 21:13:22 -0800

I should also mention that the info you ask for with FSGetCatalogInfo is kFSCatInfoNodeFlags.


On Nov 28, 2006, at 9:10 PM, Ryan Britton wrote:

You can for sure get it with FSGetCatalogInfo. Specifically the field kFSNodeLockedMask. I'm unsure if there is any other way to get it since this is the method I use.


On Nov 28, 2006, at 8:26 PM, Chris Suter wrote:

I'm guessing, but the locked property could be the kNameLocked flag declared in CarbonCore/Finder.h.

It looks like you could get hold of this either using getattrlist (BSD) or FSGetCatalogInfo (Carbon).

There might be a Cocoa way; I don't know.

- Chris

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Checking if a file is Locked (From: Chad Armstrong <email@hidden>)
 >Re: Checking if a file is Locked (From: Chris Suter <email@hidden>)
 >Re: Checking if a file is Locked (From: Ryan Britton <email@hidden>)

  • Prev by Date: Re: Checking if a file is Locked
  • Next by Date: Re: Slightly OT: SIGKILL (force quit) and child process termination
  • Previous by thread: Re: Checking if a file is Locked
  • Next by thread: Re: Checking if a file is Locked
  • Index(es):
    • Date
    • Thread