fix bug 999144 - check gear_file against uid map

[merge]