diff --git a/src/uu/chown/src/chown.rs b/src/uu/chown/src/chown.rs
index 8e97d5652..0e9b8b242 100644
--- a/src/uu/chown/src/chown.rs
+++ b/src/uu/chown/src/chown.rs
@@ -195,6 +195,53 @@ pub fn uu_app() -> Command {
)
}
+/// Parses the user string to extract the UID.
+fn parse_uid(user: &str, spec: &str, sep: char) -> UResult