add logging for file owner checks