Due to me doing a clean install of Mageia and using backintime to backup/restore users' data, I am not sure that the many files I restored have the right UID.
(since userA on my old system had uid=1003 and the newly created userA on the new system may have uid=1002)
I know I could do a search for data having a certain uid:
- Code: Select all
find /directory_to_be_search -uid 1002
but what I really want is to find out which UIDs are allocated in data of a given directory ("directory /directory_to_be_search contains data with UID 1002, 1005, 1008")
Any hint ?
Thank you
Vincent