Error: User/Group Name Showing Number. How to Fix?
Error: User/Group Name Showing Number. How to Fix?
-rwxr-xr-x 1 1451843492 2116441323 3875 Apr 1 2015 rcaws
-rwxr-xr-x 1 1451843492 2116441323 8828 Mar 8 2016 rccenshare
-rwxr-xr-x 1 1451843492 2116441323 11761 Apr 22 10:39 rccss
Cause:
Sometimes the specified Ownership (User/Group) is not in the system. Or otherwise we have User/Group in Place but System can not map it Properly .
Resolution:
1. Check if the user present in system.
getent passwd 1451843492
or
grep -i 1451843492 /etc/passwd
2. If the user is present and is not Properly mapped, We'll need to find the files which is having user/group id as following (1451843492 2116441323) and change them as required.
a. List the files.
find / -group 2116441323 -name "*" -exec ls -la {} \;
find / -user 1451843492 -name "*" -exec ls -la {} \;
b. Change to desired Ownership.
find . -group 2116441323 -name "*" -exec chown root:wheel {} \;
-rwxr-xr-x 1 1451843492 2116441323 3875 Apr 1 2015 rcaws
-rwxr-xr-x 1 1451843492 2116441323 8828 Mar 8 2016 rccenshare
-rwxr-xr-x 1 1451843492 2116441323 11761 Apr 22 10:39 rccss
Cause:
Sometimes the specified Ownership (User/Group) is not in the system. Or otherwise we have User/Group in Place but System can not map it Properly .
Resolution:
1. Check if the user present in system.
getent passwd 1451843492
or
grep -i 1451843492 /etc/passwd
2. If the user is present and is not Properly mapped, We'll need to find the files which is having user/group id as following (1451843492 2116441323) and change them as required.
a. List the files.
find / -group 2116441323 -name "*" -exec ls -la {} \;
find / -user 1451843492 -name "*" -exec ls -la {} \;
b. Change to desired Ownership.
find . -group 2116441323 -name "*" -exec chown root:wheel {} \;
No comments