• 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: How to block file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to block file?


  • Subject: Re: How to block file?
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 8 Feb 2007 09:46:27 +0100

Am 07.02.2007 um 17:02 schrieb Eugen Belyakov:
How can I block file, that none could edit or erase it, until I close
my application?

If you keep it open, the OS may delete the directory entry for that file, but not its contents. So, you can read from it, write to it, and it won't get completely deleted until you close it. Ahhh... the beauty of Unix file management. Confusing to users, but so nice to program for.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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: 
 >How to block file? (From: "Eugen Belyakov" <email@hidden>)

  • Prev by Date: View Layers
  • Next by Date: Re: View Layers
  • Previous by thread: Re: How to block file?
  • Next by thread: Refresh issue with NSButton, text becomes dark when window is resized?
  • Index(es):
    • Date
    • Thread