Hi Jean-Pierre,
On Thu, 18 Oct 2007, Jean-Pierre ANDRE wrote:
> Hmm, I may have been unclear, so I try again.
Thanks, I see.
I was thinking about a different scenario which, I realized, doesn't need
to be thought at all (heritance handling of an exiting file which has only
security attribute and its permissions are being modified in the condition
when the heritance was not considered during the security attribute
creation).
> In this inheritance scenario, we have a parent directory,
> (assume its name is parent), which is old-fashioned, with
> a security descriptor and no security id.
>
> Then, under a recent Windows (or the future ntfs-3g in a
> special inheritance mode which deviates from Linux
> traditions), we create a child directory as a subdir of
> parent.
>
> In this situation, the child directory will receive an id
> designating a descriptor which derives from its parent's,
> while the descriptor of the parent remains old-fashioned.
>
> The parent has only a security attribute
> The child has an id and a security descriptor in $Secure.
>
> None has a duplicate descriptor, and nobody (to my
> current knowledge) will remove or convert the old-fashioned
> descriptor from the parent.
Fine, thanks.
> Please note : in my implementation, every time a file
> or directory is created in an old-fashioned directory,
> the process of computing an inherited id is repeated
> up to finding out, a similar descriptor is already
> available and its id can be reused. This is due to the
> fact I do not keep track of files, I only cache their
> security id if the have one, but in this situation the
> parent directory has none.
No problem. Less than 0.1% of the files have security attribute
in general and this number is lessening in time.
Regards,
Szaka
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel