Re: How to block file?
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