Ulf Zibis wrote on 11/1/20 10:14 PM:
Am 31.10.20 um 20:13 schrieb Ulf Zibis:
Hi Jean-Pierre,
some time ago you have written:
Am 28.11.15 um 13:03 schrieb Jean-Pierre André:
If the users are in the same group in Windows (this is
the default on Windows 7 and earlier), they must also be
in the same *primary* group in Linux. If users are in
different groups in Windows (this is the default on
Windows 8 and subsequent), they must be in different
groups in Linux.
This will not be changed. You have to define your
primary groups on Linux the same way as on Windows.
(Alternative : switch to Windows 8 or Windows 10).
Now I have a dual-boot installation with fresh Windows 10 and Ubuntu
20.04.
When running ntfssecaudit from Ubuntu, I get:
gesche@T540p:~$ ntfssecaudit -u /mnt/Daten/Users/Gesche/Documents/
ntfssecaudit 1.5.0 : NTFS security data auditing
# User mapping proposal :
# -------------------- cut here -------------------
1000::S-1-5-21-1967741440-4199378828-1111019832-1002
:1000:S-1-5-21-1967741440-4199378828-1111019832-513
::S-1-5-21-1967741440-4199378828-1111019832-10000
# -------------------- cut here -------------------
# Insert the above lines into .NTFS-3G/UserMapping, with .NTFS-3G
# being a hidden subdirectory of the root of the NTFS file system.
# Example : /mnt/Daten/.NTFS-3G/UserMapping
No errors were found
gesche@T540p:~$ ntfssecaudit -u /mnt/Daten/Users/Mama/Documents/
ntfssecaudit 1.5.0 : NTFS security data auditing
# User mapping proposal :
# -------------------- cut here -------------------
1000::S-1-5-21-1967741440-4199378828-1111019832-1003
:1000:S-1-5-21-1967741440-4199378828-1111019832-513
::S-1-5-21-1967741440-4199378828-1111019832-10000
# -------------------- cut here -------------------
# Insert the above lines into .NTFS-3G/UserMapping, with .NTFS-3G
# being a hidden subdirectory of the root of the NTFS file system.
# Example : /mnt/Daten/.NTFS-3G/UserMapping
No errors were found
So I'm wondering, why your statement is not true here. Both users are
in the same Windows group, so I have the same mapping problem as with
Windows 7.
This is because you upgraded from Windows 7, and in the
process the local account parameters were preserved.
As your user groupings are not the same in Windows and
Linux, you cannot have a sensible interworking of ownership
and permissions.
As second problem is, that secaudit doesn't run through here (I had to
cancel it with Ctrl+C):
Now secaudit works again.
The reason for the error before seems, that
/mnt/Daten/.NTFS-3G/UserMapping was an empty file on my first try.
Looks like a bug...
Jean-Pierre
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel