Ulf Zibis wrote: > Hi Jean-Pierre, > > Am 06.02.2016 um 08:07 schrieb Jean-Pierre André: >> Ulf Zibis wrote: >>> Could you please give me a pointer in the code where the mode values are >>> calculated. >>> I like to understand, what's happening, and maybe find a correct change. >> >> It is in build_inherited_id() within libntfs-3g/security.c >> which mostly relies on ntfs_inherit_acl() in libntfs-3g/acls.c > > I didn't look at this yet, but I found another detail. > > In ntfs_build_permissions(...) in acls.c there is: > firstapply = FALSE; > > If I delete this, the dependency on ACE order is gone and I get the expected > result of mode 0700 for > all order combinations. > > With the original code, I only get mode 0700, if the ACE > 1c 00032400 ff011f00 > 24 01050000 00000005 15000000 647f0a93 0d02ff2a 56280d32 eb030000 > is in the first position. > > Can you please teach me about the intent of variable firstapply?
Sorry, you will have to find out by yourself, I will not enter into that kind of support. If you make changes, please make sure you do not break the settings on existing ntfs systems. As a minimum, the existing self-tests in secaudit must be kept unchanged. Jean-Pierre > > Regards, > > Ulf ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
