• 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: Lock a file in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lock a file in cocoa


  • Subject: Re: Lock a file in cocoa
  • From: Don Quixote de la Mancha <email@hidden>
  • Date: Fri, 19 Mar 2010 05:17:48 -0700

Nikhil,

On Fri, Mar 19, 2010 at 2:59 AM, Nikhil Khandelwal
<email@hidden> wrote:
> Is there any way to lock a file in cocoa? I want to lock a file on desktop programmatically so that I can't move that file to trash until I unlock the file.

How long do you need to prevent its removal?  Just holding the file
open should prevent it from being deleted.

Don Quixote
--
Don Quixote de la Mancha
email@hidden
http://www.dulcineatech.com

   Dulcinea Technologies Corporation: Software of Elegance and Beauty.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: Lock a file in cocoa
      • From: Jens Alfke <email@hidden>
References: 
 >Lock a file in cocoa (From: Nikhil Khandelwal <email@hidden>)

  • Prev by Date: Re: Lock a file in cocoa
  • Next by Date: Re: NSComboBox problem in 10.6.2
  • Previous by thread: Re: Lock a file in cocoa
  • Next by thread: Re: Lock a file in cocoa
  • Index(es):
    • Date
    • Thread