Hi Jean-Pierre,
On Fri, 12 Oct 2007, [ISO-8859-1] Jean-Pierre Andr� wrote:
> Szabolcs Szakacsits wrote:
> > On Thu, 27 Sep 2007, Jean-Pierre ANDRE wrote:
> >
> >> Note : inheritance and cacheing are not possible on files
> >> and directories created by standard ntfs-3g.
> >
> > Do you mean that this is not possible because the $SECURITY_DESCRIPTOR
> > attribute was used?
>
> Yes.
>
> Inheritance is done by copying the security id. Simple and fast.
Would you please check how Windows handles inheritance if only a
$SECURITY_DESCRIPTOR exists? We should behave the same way. Thanks.
> The security id is also the base for cacheing. This way I do not
> have to keep track of individual files and the cache efficiency
> is over 99%
No problem for not caching $SECURITY_DESCRIPTORs. They are the dinosaurus
in NTFS world and dying out rapidly.
> > Not just ntfs-3g and NT4 create this attribute but I keep seeing it on
> > volumes too which never were touched by Linux or NT4. Windows respects it,
> > however I didn't check what it considers if both the security id and the
> > $SECURITY_DESCRIPTOR exist.
>
> I do exactly the same for existing security attributes.
>
> When both the security id and the security descriptor exist,
> Windows XP uses the security id, but chkdsk complains
> and replaces both by a standard one.
Ok, thank you for checking this out. It also means that when we add a
security id and a security attribute exists then we have to remove it
otherwise chkdsk corrupts the permission.
> > Is $SECURITY_DESCRIPTOR always ignored or only in the above cases?
>
> In my implementation, the security attribute is ignored
> only when there is a duplication.
That's ok.
> This duplication is bad (chkdsk complains) and should
> never happen.
Yes, we should remove the security attribute if we are adding or modifying
a security id.
Thanks again,
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