Hi Bernhard, Can you try again, with
http://pagesperso-orange.fr/b.andre/ntfs-3g-1.2216SC.2.tgz This is a "release candidate" which solves the problems you went into. It does not issue the warning for $Secure missing which triggered you into trying to create such a file, and hence getting into inconsistencies. I have inserted more consistency checks based on your proposals. It should even be ok with a dummy $Secure, but I nevertheless suggest you remove the file you created. The absence of $Secure is normal if you formatted your partition in NT3 mode. You should however get the full permission features though in an inefficient way (as cacheing is generally not possible). You will also not benefit from attribute inheritance (which is only used for Windows compatibility). Now, if you formatted your partition for NTFS 3.1 (similar to Windows 2000 and later), I would expect $Secure to be there. If this is not the case (so with NTFS 3.1 and no $Secure), something has to be done to create $Secure. This should be an option for formatting or something to be done when creating the first file. The above fix would not be enough. Also, you should avoid to use the associated "secaudit" utility for now. Most of it deals with checking mutual consistency of data and indexes in $Secure. It is not much usable if you do not have this file, and this is not checked properly. Thank you again for the bug report. Regards Jean-Pierre Bernhard Kaindl wrote: > Bonjour Jean-Pierre, > > I started playing around with your latest NTFS-3G release with support > for file ownership and permissions from > > http://pagesperso-orange.fr/b.andre/security.html > > http://pagesperso-orange.fr/b.andre/ntfs-3g-1.2129SR.1.tgz > > and started off with an already used NTFS volume which I created using mkntfs > from ntfsprogs. I saw warnings of ntfs-3g not findig $Secure and after > creating > it by hand as a normal file, I tried > > vim /ntfs/.NTFS-3G/UserMapping > > and got a crash. The cause seems to have been that it also appears to need > $INDEX_ROOT which it also didn't find until I created it by with touch. > I Started ntfs-3g in the debugger and saw that the cause was that > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
