Permission Denied An attempt was made to write to a write-protected drive or to a read-only file. To avoid the read-only conflict, use a different filename or drive. Or, if you're using a floppy disk, remove the tab from it.