Helper functions for getting user and group associated with folders