How to Delete Read Only Files

In some cases, you may have difficulty deleting a file from your PC or Mac because the file is classified as Read Only. By changing the file attributes, you can easily delete Read Only files in Windows or Mac OS X. Right-click the file in...

Method 1 of 4:

Use the Properties Menu to Eliminate the Read Only Attribute

  1. Picture 1 of How to Delete Read Only Files
    Right-click the file in Windows Explorer.
  2. Picture 2 of How to Delete Read Only Files
    Choose "Properties" from the drop-down menu.
  3. Picture 3 of How to Delete Read Only Files
    Uncheck the box next to the "Read Only" option in the "Properties" menu.
    1. If the box is checked and grayed out, either the file is in use or you don't have permission to change it.
    2. Quit any programs that are using the file. If needed, login as an administrator to gain permission to alter the file.
  4. Picture 4 of How to Delete Read Only Files
    Delete the file.
Method 2 of 4:

Use the Attrib Command to Turn Off the Read Only Attribute

  1. Picture 5 of How to Delete Read Only Files
    Click Start and select Run. If you don't see the Run command, then click All Programs > Accessories > Run.
  2. Picture 6 of How to Delete Read Only Files
    Remove the Read Only attribute and set the System attribute. Type the following command:
    1. attrib -r +s drive:
    2. For the test folder, for example, type attrib -r +s c:test
  3. Picture 7 of How to Delete Read Only Files
    Delete the file.
Method 3 of 4:

Delete Read Only Files in Mac OS X Using Finder

  1. Picture 8 of How to Delete Read Only Files
    Open Finder. Find the file that you want to delete and click to highlight it.
  2. Picture 9 of How to Delete Read Only Files
    Click File at the top of the Finder menu, then select Get Info.
  3. Picture 10 of How to Delete Read Only Files
    Select the "Privilege" option in the Sharing & Permissions section.
  4. Picture 11 of How to Delete Read Only Files
    Click on the box next to "Owner."
  5. Picture 12 of How to Delete Read Only Files
    Set the file to Read & Write status.
  6. Picture 13 of How to Delete Read Only Files
    Delete the file
Method 4 of 4:

Delete Read Only Files in Mac OS X Using Terminal

  1. Picture 14 of How to Delete Read Only Files
    Select Applications > Utilities > Terminal.
  2. Picture 15 of How to Delete Read Only Files
    Type cd . For example, if you want to adjust permissions for a file in your documents folder, then type cd Documents.
  3. Picture 16 of How to Delete Read Only Files
    Input the command ls -l to view the directory contents in long form. Permissions are displayed on the far left column.
  4. Picture 17 of How to Delete Read Only Files
    Type chmod u+rwx "filename" to grant read, write and execute permissions. Close Terminal.
  5. Picture 18 of How to Delete Read Only Files
    Find and delete the file.
« PREV POST
READ NEXT »