split user and dir, use rk_getpwnam_r