You must have Full Control or the special permissions "Take Ownership" to be able to take ownership of a file or folder. Users who have the "Restore files and directories" privilege can assign ownership to any user or group.