Given a file path how do i check that this file is owned by current user? Currently i managed to get:
[[[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:outError] fileOwnerAccountID];
Which return NSNumber*. But i can't seem to google for how to get current user account id to compare it with. Besides all this looks messy, there seem to be a better way to do it, no?