#655 When re-uploading file, checking access rights