FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Fri May 07, 2021 04:13



Post new topic Reply to topic  [ 17 posts ] 
Please show full paths with usermap.exe 
Author Message

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Please show full paths with usermap.exe
Hi,

take this example:
Code:
   file "$RWX9LVZ" has no mapped owner
By which Linux login should this file be owned ?
Enter uid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

User :

I was not able to find this file with Windows_7 Explorer search on my C: partition, so how should I know to what user I should match this file?
So I think, it would be better if the usermap tool would print the full path, as a similar problem occurs, if there is taken a file name which has several duplicates in different locations with different ownership.

Another problem, also with the "Undecided :" SIDs. How do I get info, which SID is assigned to which user/group name?


Mon Mar 31, 2014 16:05
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Please show full paths with usermap.exe
Hi,

[You posted this issue earlier on ntfs-3g-devel@lists.sourceforge.net, I just copy-paste the reply I made]

Quote:
take this example:
Code:
file "$RWX9LVZ" has no mapped owner
By which Linux login should this file be owned ?
Enter uid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom
User :

I was not able to find this file with Windows_7 Explorer search on my C: partition, so how should I
know to what user I should match this file?

Most likely a file named "$RWX9LVZ" is not really owned by a user. Possibly a temporary file being downloaded (or uncompressed, or whatever). It is even probably a hidden one if you cannot find it through Explorer.
As a consequence, there is probably no point trying to assign it to a user also defined on Linux.
Quote:
So I think, it would be better if the usermap tool would print the full path, as a similar problem occurs, if there is taken a file name which has several duplicates in different locations with different ownership.

Ok, this would help.

The problem is that usermap scans the partition and finds files (such as system or package files) whose owners are not real candidates for Linux accounts.

Quote:
Another problem, also with the "Undecided :" SIDs. How do I get info, which SID is assigned to which user/group name?

It is ofter easier to get each Windows user to create on Windows a file in his/her home directory, then use secaudit with option -u to display the owner and group SID of the files, then concatenate the outputs and set the matching uid and gid :
Code:
On Windows :
   secaudit -u sample-file
On Linux, on a mounted partition
   ntfs-3g.secaudit -u sample-file
On Linux, on an unmounted partition
   sudo ntfs-3g.secaudit -u /dev/partition sample-file

Files which are not created by users generally do not need to be assigned to Linux users. They just appear to be owned by root. You probably may ignore undecided SIDs if all your real users are mapped.

Note : for the mapping to be possible, the grouping of users must be the same in Windows and Linux. By default Windows 7 puts all the users in the same group, and Windows 8 puts each user in his own group.

Regards

Jean-Pierre


Mon Mar 31, 2014 21:39
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
jpa wrote:
Quote:
... I was not able to find this file with Windows_7 Explorer search on my C: partition, so how should I
know to what user I should match this file?

Most likely a file named "$RWX9LVZ" is not really owned by a user. Possibly a temporary file being downloaded (or uncompressed, or whatever). It is even probably a hidden one if you cannot find it through Explorer.

I had enabled visibility of hidden and system files in Explorer, but maybe this doesn't apply to it's search function :( .

jpa wrote:
Quote:
Another problem, also with the "Undecided :" SIDs. How do I get info, which SID is assigned to which user/group name?

It is ofter easier to get each Windows user to create on Windows a file in his/her home directory, then use secaudit with option -u to display the owner and group SID of the files, then concatenate the outputs and set the matching uid and gid :
Code:
On Windows :
   secaudit -u sample-file

I guess you meant -v instead -u :)
Code:
C:\>F:\Software\Linux\TuxeraTools\secaudit -v E:\Users\Lasse\Documents
secaudit 1.3.22 : NTFS security data auditing
** Bad implicit SID pattern S-1-5-21-2869643010-2844629126-3994450086-513
** Cannot interpret id "jakob"** please use numeric uids in UserMapping file
Invalid user "jakob"
** Cannot interpret id "lasse"** please use numeric uids in UserMapping file
Invalid user "lasse"
** Cannot interpret id "katrin"** please use numeric uids in UserMapping file
Invalid user "katrin"
** Cannot interpret id "jakob"** please use numeric gids in UserMapping file
Invalid group "jakob"
** Cannot interpret id "lasse"** please use numeric gids in UserMapping file
Invalid group "lasse"
** Cannot interpret id "katrin"** please use numeric gids in UserMapping file
Invalid group "katrin"
** Cannot interpret id "jakob"** please use numeric gids in UserMapping file
Invalid group "jakob"
** Cannot interpret id "lasse"** please use numeric gids in UserMapping file
Invalid group "lasse"
** Cannot interpret id "katrin"** please use numeric gids in UserMapping file
Invalid group "katrin"
** There were no valid user or no valid group
*** Could not get user mapping data
Directory E:\Users\Lasse\Documents
        000000  01000480 6c000000 88000000 00000000
        000010  14000000 02005800 03000000 00031400
        000020  ff011f00 01010000 00000005 12000000
        000030  00031800 ff011f00 01020000 00000005
        000040  20000000 20020000 00032400 ff011f00
        000050  01050000 00000005 15000000 02470bab
        000060  86988da9 a67816ee ee030000 01050000
        000070  00000005 15000000 02470bab 86988da9
        000080  a67816ee ee030000 01050000 00000005
        000090  15000000 02470bab 86988da9 a67816ee
        0000a0  01020000
Computed hash : 0x5f8121d9
Windows attrib : 0x11
Interpreted Unix owner 0, group 0, mode 0700
** 1 warning was signalled
No errors were found
alloc table at termination
003f1350 : 28 bytes at 003f1328 allocated at acls.c line 3943
003f1308 : 28 bytes at 003f12e0 allocated at acls.c line 3943

This is a lot information, but it doesn't tell me anything helpful to configure the UserMapping.

Code:
C:\>F:\Software\Linux\TuxeraTools\secaudit -vv E:\Users\Lasse\Documents
secaudit 1.3.22 : NTFS security data auditing
** Bad implicit SID pattern S-1-5-21-2869643010-2844629126-3994450086-513
** Cannot interpret id "jakob"** please use numeric uids in UserMapping file
Invalid user "jakob"
** Cannot interpret id "lasse"** please use numeric uids in UserMapping file
Invalid user "lasse"
** Cannot interpret id "katrin"** please use numeric uids in UserMapping file
Invalid user "katrin"
** Cannot interpret id "jakob"** please use numeric gids in UserMapping file
Invalid group "jakob"
** Cannot interpret id "lasse"** please use numeric gids in UserMapping file
Invalid group "lasse"
** Cannot interpret id "katrin"** please use numeric gids in UserMapping file
Invalid group "katrin"
** Cannot interpret id "jakob"** please use numeric gids in UserMapping file
Invalid group "jakob"
** Cannot interpret id "lasse"** please use numeric gids in UserMapping file
Invalid group "lasse"
** Cannot interpret id "katrin"** please use numeric gids in UserMapping file
Invalid group "katrin"
** There were no valid user or no valid group
*** Could not get user mapping data
Directory E:\Users\Lasse\Documents
   No SACL
        000000  01000480 6c000000 88000000 00000000
        000010  14000000 02005800 03000000 00031400
        000020  ff011f00 01010000 00000005 12000000
        000030  00031800 ff011f00 01020000 00000005
        000040  20000000 20020000 00032400 ff011f00
        000050  01050000 00000005 15000000 02470bab
        000060  86988da9 a67816ee ee030000 01050000
        000070  00000005 15000000 02470bab 86988da9
        000080  a67816ee ee030000 01050000 00000005
        000090  15000000 02470bab 86988da9 a67816ee
        0000a0  01020000
Computed hash : 0x5f8121d9
Windows attrib : 0x11
Global header
    revision 1
    flags    0x8004
        DACL present
        self relative descriptor
    Off USID 0x6c
    Off GSID 0x88
    Off SACL 0x0
    Off DACL 0x14
Owner SID
    Local user-1006 SID
    O:hex S-1-5-15-ab0b4702-a98d9886-ee1678a6-3ee
    O:dec S-1-5-21-2869643010-2844629126-3994450086-1006
Group SID
    Local users SID
    G:hex S-1-5-15-ab0b4702-a98d9886-ee1678a6-201
    G:dec S-1-5-21-2869643010-2844629126-3994450086-513
DACL
    revision 2
    ACL size 88
    ACE cnt  3
    ACE 1 at 0x1c
        type     0
            Access allowed
        flags    0x3
            Object inherits ACE
            Container inherits ACE
        Size     0x14
        Acc rgts 0x1f01ff
            Obj specific acc rgts 0x1ff
                List directory
                Add file
                Add subdirectory
                Read EA
                Write EA
                Traverse
                Delete child
                Read attributes
                Write attributes
            standard acc rgts 0x1f
                Delete
                Read control
                Write DAC
                Write owner
                Synchronize
        SID at 0x24
            NT System SID
            hex S-1-5-12
            dec S-1-5-18
        Summary : grant rwx inherited applied
    ACE 2 at 0x30
        type     0
            Access allowed
        flags    0x3
            Object inherits ACE
            Container inherits ACE
        Size     0x18
        Acc rgts 0x1f01ff
            Obj specific acc rgts 0x1ff
                List directory
                Add file
                Add subdirectory
                Read EA
                Write EA
                Traverse
                Delete child
                Read attributes
                Write attributes
            standard acc rgts 0x1f
                Delete
                Read control
                Write DAC
                Write owner
                Synchronize
        SID at 0x38
            Local admins SID
            hex S-1-5-20-220
            dec S-1-5-32-544
        Summary : grant rwx inherited applied
    ACE 3 at 0x48
        type     0
            Access allowed
        flags    0x3
            Object inherits ACE
            Container inherits ACE
        Size     0x24
        Acc rgts 0x1f01ff
            Obj specific acc rgts 0x1ff
                List directory
                Add file
                Add subdirectory
                Read EA
                Write EA
                Traverse
                Delete child
                Read attributes
                Write attributes
            standard acc rgts 0x1f
                Delete
                Read control
                Write DAC
                Write owner
                Synchronize
        SID at 0x50
            Local user-1006 SID
            hex S-1-5-15-ab0b4702-a98d9886-ee1678a6-3ee
            dec S-1-5-21-2869643010-2844629126-3994450086-1006
        Summary : grant rwx inherited applied to owner
No SACL
Interpreted Unix owner 0, group 0, mode 0700
** 1 warning was signalled
No errors were found
alloc table at termination
001e1350 : 28 bytes at 001e1328 allocated at acls.c line 3943
001e1308 : 28 bytes at 001e12e0 allocated at acls.c line 3943

C:\>

This is a lot more information, but it still doesn't tell me anything about which Windows user name matches to the printed SID to easily configure the UserMapping correctly.

I would like information something like:
File: E:\Users\Lasse\Documents
Owner: Lasse
SID: S-1-5-21-2869643010-2844629126-3994450086-1006

Is there any other chance to print the assignments between SIDs and Windows user names?
That would help a lot to easily configure the UserMapping.

jpa wrote:
Note : for the mapping to be possible, the grouping of users must be the same in Windows and Linux. By default Windows 7 puts all the users in the same group, and Windows 8 puts each user in his own group.

I'm not sure, if I understand correctly. How can I know in which group Windows 7 puts all the users and how this group is named to decide an appropriate one from Linux to match with?
Should I then configure? :
:<linux-group>:S-1-5-21-2869643010-2844629126-3994450086-513 (this is maybe the Windows group, to which all users are assigned to)
lasse:<linux-group>:S-1-5-21-2869643010-2844629126-3994450086-1006


Tue Apr 01, 2014 17:59
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
Maybe in your user mapping documentation you could mention, that there is some helpful info in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-...


Tue Apr 01, 2014 18:26
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Please show full paths with usermap.exe
Hi,
Quote:
I guess you meant -v instead -u :)


Hmm. I really meant -u, but I see you are using secaudit 1.3.22... and this is my fault, as I had forgotten to update the online version for Windows. Done now, you may get it from http://jp-andre.pagesperso-orange.fr/tools.zip
Code:
** Bad implicit SID pattern S-1-5-21-2869643010-2844629126-3994450086-513

The implicit pattern (with no uid and gid in the first couple of fields) should be the last entry. Actually the above SID is a default group SID (probably the default group for all your users), and it should have a gid in the second field.
Code:
** Cannot interpret id "jakob"** please use numeric uids in UserMapping file
Invalid user "jakob"

You can probably ignore this. You are executing on Windows, and Windows cannot translate Linux user names to their uid. As a consequence the lines "Interpreted Unix owner..." are wrong.
Code:
This is a lot information, but it doesn't tell me anything helpful to configure the UserMapping.

There is a lot of information because you are not using the relevant option, but the information you need is present :
Code:
Owner SID
    Local user-1006 SID
    O:hex S-1-5-15-ab0b4702-a98d9886-ee1678a6-3ee
    O:dec S-1-5-21-2869643010-2844629126-3994450086-1006
Group SID
    Local users SID
    G:hex S-1-5-15-ab0b4702-a98d9886-ee1678a6-201
    G:dec S-1-5-21-2869643010-2844629126-3994450086-513

The owner of the said directory is recorded as SID S-1-5-21-2869643010-2844629126-3994450086-1006 and the group is recorded as S-1-5-21-2869643010-2844629126-3994450086-513. This is the default group used by Windows 7 (probably for all the users, unless forced otherwise).
Quote:
Is there any other chance to print the assignments between SIDs and Windows user names?
That would help a lot to easily configure the UserMapping.

I have spent some time searching for this a few years ago, with no success. Suggestions welcome.
I generally do the opposite : ask the user to create a file, and print its owner and group.
Quote:
How can I know in which group Windows 7 puts all the users and how this group is named to decide an appropriate one from Linux to match with?

With "secaudit -vv E:\Users\Lasse\Documents" you were shown the group SID for directory Documents. You can do the same for the other users.
Quote:
Should I then configure? :
:<linux-group>:S-1-5-21-2869643010-2844629126-3994450086-513

Yes, at least for Lasse.
Code:
lasse:<linux-group>:S-1-5-21-2869643010-2844629126-3994450086-1006

No, do not do that, unless the <linux-group> is different for each user (which is the Windows 8 way of doing). Putting the same group (or same owner) in different lines is generally bad.

Based on what you have shown, I guess your UserMapping file should probably look like the followin, if "users" is the primary group of all users on Linux :
Code:
:users:S-1-5-21-2869643010-2844629126-3994450086-513
jakob::S-1-5-21-2869643010-2844629126-3994450086-1005
lasse::S-1-5-21-2869643010-2844629126-3994450086-1006
katrin::S-1-5-21-2869643010-2844629126-3994450086-1007

Now, if each user has his/her own primary group on Linux ("users" still being a secondary group for all users), the following can be used :
Code:
:users:S-1-5-21-2869643010-2844629126-3994450086-513
jakob:jakob:S-1-5-21-2869643010-2844629126-3994450086-1005
lasse:lasse:S-1-5-21-2869643010-2844629126-3994450086-1006
katrin:katrin:S-1-5-21-2869643010-2844629126-3994450086-1007

However in this variant, the files created on Windows and the ones created on Linux will not be recorded in the same group.
Quote:
Maybe in your user mapping documentation you could mention, that there is some helpful info in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-...

Nice discovery, if this entry can easily be related to a user !

Regards

Jean-Pierre


Tue Apr 01, 2014 19:46
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
Hi,

jpa wrote:
Hmm. I really meant -u, but I see you are using secaudit 1.3.22... and this is my fault, as I had forgotten to update the online version for Windows. Done now, you may get it from http://jp-andre.pagesperso-orange.fr/tools.zip
Thanks, I'll try it later.

Quote:
The implicit pattern (with no uid and gid in the first couple of fields) should be the last entry.
Thanks, is this somewhere documented? Maybe I've overseen it.

Quote:
You can probably ignore this. You are executing on Windows, and Windows cannot translate Linux user names to their uid. As a consequence the lines "Interpreted Unix owner..." are wrong.
Not to mention, I assumed that, but thanks anyway.

Quote:
This is a lot information, but it doesn't tell me anything helpful to configure the UserMapping.
This comment belongs to the upper, not to the lower output ;)
IMO, Secaudit should display this important info without any -v, but here it is only shown with -vv and not in easily understandable way.

Quote:
Quote:
Is there any other chance to print the assignments between SIDs and Windows user names?
That would help a lot to easily configure the UserMapping.

I have spent some time searching for this a few years ago, with no success. Suggestions welcome.
Uuh sad, maybe there is no Windows tool for that, because of security risks. To avoid this disagreeable question, maybe you could mention this at appropriate places in your docs.

Quote:
With "secaudit -vv E:\Users\Lasse\Documents" you were shown the group SID for directory Documents. You can do the same for the other users.
Well yes, but it still doesn't tell me it's name :(

Quote:
Based on what you have shown, I guess your UserMapping file should probably look like the followin, if "users" is the primary group of all users on Linux :
Unfortunately on Ubuntu the primary groups of users are different and same named as the user. I don't know the risk, if one would change the primary groups to "users".

Quote:
Now, if each user has his/her own primary group on Linux ("users" still being a secondary group for all users), the following can be used :
However in this variant, the files created on Windows and the ones created on Linux will not be recorded in the same group.
Maybe some more sophisticated mapping logic is needed from NTFS-3G, e.g. replacing group lasse by users while creating new files.
The most important for me is, that with option inherit the new created files and directories are really validly seen as inherited from Windows side.

Quote:
Quote:
Maybe in your user mapping documentation you could mention, that there is some helpful info in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-...

Nice discovery, if this entry can easily be related to a user !

If it was not renamed, you can take the user dir path, listed in that keys, and you know the matching user name. Unfortunately this doesn't work for e.g. ...-513 keys.

Still much thanks for your verbosity,

Ulf


Tue Apr 01, 2014 21:09
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Please show full paths with usermap.exe
Hi,

Quote:
Quote:
The implicit pattern (with no uid and gid in the first couple of fields) should be the last entry.

Thanks, is this somewhere documented? Maybe I've overseen it.

In http://www.tuxera.com/community/ntfs-3g ... sermapping see the paragraph "A special line may be inserted at the end of the mapping file..."
Quote:
Uuh sad, maybe there is no Windows tool for that, because of security risks. To avoid this disagreeable question, maybe you could mention this at appropriate places in your docs.

There must be a possibility : the owner name is displayed on Windows in the security tab of the file properties... I just did not find how to do it.
Quote:
Quote:
With "secaudit -vv E:\Users\Lasse\Documents" you were shown the group SID for directory Documents. You can do the same for the other users.

Well yes, but it still doesn't tell me it's name

In the Windows security tab, the group name is displayed as "None". This probably means Windows could not find a name. Why do you want to get a name ?

Also, are Posix ACLs enabled in default Ubuntu builds ? What is the output of
Code:
ntfs-3g -help 2>&1 | grep ration


Regards

Jean-Pierre


Wed Apr 02, 2014 09:25
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
jpa wrote:
It is ofter easier to get each Windows user to create on Windows a file in his/her home directory, then use secaudit with option -u to display the owner and group SID of the files, then concatenate the outputs and set the matching uid and gid :

Now I've tried it. Yes, this is a very convenient option.
It suggests me:
Code:
:group:S-1-5-21-2869643010-2844629126-3994450086-513
jakob::S-1-5-21-2869643010-2844629126-3994450086-1005
lasse::S-1-5-21-2869643010-2844629126-3994450086-1006
katrin::S-1-5-21-2869643010-2844629126-3994450086-1007
::S-1-5-21-2869643010-2844629126-3994450086-10000
But do I need the -10000 mapping and to where should I map group?
I think I should use:
Quote:
jakob:jakob:S-1-5-21-2869643010-2844629126-3994450086-1005
lasse:lasse:S-1-5-21-2869643010-2844629126-3994450086-1006
katrin:katrin:S-1-5-21-2869643010-2844629126-3994450086-1007


Fri Apr 04, 2014 20:03
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
jpa wrote:
In the Windows security tab, the group name is displayed as "None". This probably means Windows could not find a name. Why do you want to get a name ?
1. Just to understand, how things work.
2. When I have a name, I assume, I have a better idea to which group to match it on Linux.
Actually I don't have any idea where to find a group "None" on my system, see:
Attachment:
Win7 Users+Groups.png
Win7 Users+Groups.png [ 69.32 KiB | Viewed 32725 times ]


jpa wrote:
Also, are Posix ACLs enabled in default Ubuntu builds ?
Code:
katrin@HP-Compaq:~$ ntfs-3g -help 2>&1 | grep ration
ntfs-3g 2014.2.15 integrated FUSE 27 - Third Generation NTFS Driver
      Configuration type 1, XATTRS are on, POSIX ACLS are off

What about the original topic? Do you consider to print full paths with usermap.exe in a future version?
.


Fri Apr 04, 2014 20:55
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Please show full paths with usermap.exe
Hi,

Quote:
1. Just to understand, how things work.
2. When I have a name, I assume, I have a better idea to which group to match it on Linux.
Actually I don't have any idea where to find a group "None" on my system, see:

"None" is (probably) not a group name, it could be a generic name meaning the group has no name. How is it seen in the security tab of the properties of a user-create file ?
Quote:
What about the original topic? Do you consider to print full paths with usermap.exe in a future version?

Yes, but with lower priority, as this is not useful to solve your issues.

Regards

Jean-Pierre


Sat Apr 05, 2014 10:13
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Please show full paths with usermap.exe
Hi,

Quote:
Quote:
What about the original topic? Do you consider to print full paths with usermap.exe in a future version?

Yes, but with lower priority, as this is not useful to solve your issues.

Attached is a Windows version of usermap, with parent directory shown.

Regards

Jean-Pierre


Attachments:
usermap.zip [6.28 KiB]
Downloaded 863 times
Sat Apr 05, 2014 13:30
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
jpa wrote:
"None" is (probably) not a group name, it could be a generic name meaning the group has no name. How is it seen in the security tab of the properties of a user-create file ?
Attachment:
Security_tabs Linux_created_files.png
Security_tabs Linux_created_files.png [ 235.82 KiB | Viewed 32708 times ]


Sat Apr 05, 2014 15:11
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
jpa wrote:
Attached is a Windows version of usermap, with parent directory shown.

This was quite quick and is really helpful :
Code:
C:\>F:\Software\Linux\TuxeraTools\usermap C:

This tool will help you to build a mapping of Windows users
to Linux users.
Be prepared to give Linux user id (uid) and group id (gid)
for owners of files which will be selected.
Your current user name is Administrator
Your account domain is Dobler-PC

* Scanning "C:" (two levels)

Under Windows login "Administrator"
   in directory "C:\Documents and Settings\Administrator"
   file "AppData" has no mapped group
By which Linux login should this file be owned ?
Enter gid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

Group :

Under Windows login "All Users"
   in directory "C:\Documents and Settings\All Users"
   file "Adobe" has no mapped group
By which Linux login should this file be owned ?
Enter gid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

Group :

Under Windows login "All Users"
   in directory "C:\Documents and Settings\All Users\Documents"
   file "New_with_patch" has no mapped owner
By which Linux login should this file be owned ?
Enter uid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

User : katrin

Under Windows login "All Users"
   in directory "C:\Documents and Settings\All Users\Microsoft"
   file "eHome" has no mapped group
By which Linux login should this file be owned ?
Enter gid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

Group :

Under Windows login "Default"
   in directory "C:\Documents and Settings\Default\AppData\Roaming"
   file "Media Center Programs" has no mapped group
By which Linux login should this file be owned ?
Enter gid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

Group :

   in directory "C:\$Recycle.Bin"
   file "S-1-5-21-2869643010-2844629126-3994450086-1005" has no mapped owner
By which Linux login should this file be owned ?
Enter uid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

User : jakob

   in directory "C:\$Recycle.Bin"
   file "S-1-5-21-2869643010-2844629126-3994450086-1006" has no mapped owner
By which Linux login should this file be owned ?
Enter uid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

User : lasse

   in directory "C:\$Recycle.Bin\S-1-5-21-2869643010-2844629126-3994450086-500"
   file "$RWX9LVZ" has no mapped owner
By which Linux login should this file be owned ?
Enter uid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

User : administrator

   in directory "C:\Windows\System32\catroot"
   file "{F750E6C3-38EE-11D1-85E5-00C04FC295EE}" has no mapped group
By which Linux login should this file be owned ?
Enter gid of login, or just press "enter" if this file
does not belong to a user, or you do not known to whom

Group :

You have defined no group, this can cause problems
Do you accept defining a standard group ?
Y

* Old mapping file moved to C:\.NTFS-3G\UserMapping.bak
* Creating file C:\.NTFS-3G\UserMapping
# Generated by usermap for Windows, v 1.1.5
:katrin:S-1-5-21-397955417-626881126-188441444-513
katrin:katrin:S-1-5-21-2869643010-2844629126-3994450086-1007
jakob:jakob:S-1-5-21-2869643010-2844629126-3994450086-1005
lasse:lasse:S-1-5-21-2869643010-2844629126-3994450086-1006
administrator:administrator:S-1-5-21-2869643010-2844629126-3994450086-1003
Undecided :
   S-1-5-21-2869643010-2844629126-3994450086-513
   S-1-5-21-561645723-1598288805-1625568065-513

C:\>


Sat Apr 05, 2014 15:31
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Please show full paths with usermap.exe
Hi,

Hmm. The security tab only shows permissions, not the owner and group. As no permission is defined in Windows for the standard group, its name cannot be seen on files created by Windows, and as you did not define a mapping for this group, it cannot be seen on files created by Linux either... So the group will have to remain anonymous.

Regards

Jean-Pierre


Sat Apr 05, 2014 22:03
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
Is it possible that with Windows default group you mean what is named in German with Jeder, which means anybody, public or all in English?
This is the group which is set to full access on a new file/folder, created on NTFS using only the defaults mount option.


Sat Apr 05, 2014 22:55
Profile

Joined: Mon Mar 31, 2014 13:43
Posts: 113
Post Re: Please show full paths with usermap.exe
jpa wrote:
Hi,

Hmm. The security tab only shows permissions, not the owner and group.
In the owner tab the owner is Katrin(DOBLER-PC\Katrin), but there is no info about group membership.

Quote:
As no permission is defined in Windows for the standard group, its name cannot be seen on files created by Windows, and as you did not define a mapping for this group, it cannot be seen on files created by Linux either... So the group will have to remain anonymous.
I still do not understand, what you mean by Windows standard group.
I had:
Code:
:users:S-1-5-21-2869643010-2844629126-3994450086-513


Sat Apr 05, 2014 23:15
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Please show full paths with usermap.exe
Hi,

Quote:
I still do not understand, what you mean by Windows standard group.

I mean the group whose SID is S-1-5-21-2869643010-2844629126-3994450086-513 to which user created files are associated on Windows 7. This group is apparently anonymous on Windows, and on my computer it is shown as "None". This does not prevent defining a name or gid in Linux.

Regards

Jean-Pierre


Sun Apr 06, 2014 09:49
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.