From: Jean-Pierre A. <jea...@wa...> - 2014-03-31 19:26:34
|
Ulf Zibis wrote: > Hi, > > I recently registered in your forum. > > I'm wondering, that my first posted new Topic doesn't show up in the list. So to not loose my post, > I'll send it here as a duplicate: > > =========================================================== > 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 :[/code] > 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. > 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. > 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 : 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 > Cheers, Ulf > > |