Modified to use sid_to_uid and sid_to_gid. Now ready for POSIX ACL