To dismiss a write-protected file, make sure that you have all the necessary permissions. Check the permissions by entering the "chmod" or "chattr" commands. Then use "rm" or "rmdir" according to the use.