Re: Blocking file access within KAUTH
Re: Blocking file access within KAUTH
- Subject: Re: Blocking file access within KAUTH
- From: Michael Smith <email@hidden>
- Date: Sat, 24 Nov 2007 21:49:46 -0800
I gave you some bad advice here:
On Nov 24, 2007, at 8:23 PM, Michael Smith wrote:
Do not assume that the path to a file will remain the same over its
lifetime. Open files move, and you must be prepared to handle this
(you will be notified post-facto via KAUTH_FILEOP_RENAME).
You will only receive this notification if the node itself is renamed;
if a parent component is renamed (changing the path to the node) you
will *not* receive this notification for the node, only for the parent
component. Unless you feel like checking the paths to all of the
nodes you are currently tracking for this parent, this notification
will not help you.
Maintaining a shadow copy of part or all of the filesystem namespace
is a losing game. I cannot recommend it.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden