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. How to Delete Read Only Files Picture 1How to Delete Read Only Files Picture 1
    Right-click the file in Windows Explorer.
  2. How to Delete Read Only Files Picture 2How to Delete Read Only Files Picture 2
    Choose "Properties" from the drop-down menu.
  3. How to Delete Read Only Files Picture 3How to Delete Read Only Files Picture 3
    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. How to Delete Read Only Files Picture 4How to Delete Read Only Files Picture 4
    Delete the file.
Method 2 of 4:

Use the Attrib Command to Turn Off the Read Only Attribute

  1. How to Delete Read Only Files Picture 5How to Delete Read Only Files Picture 5
    Click Start and select Run. If you don't see the Run command, then click All Programs > Accessories > Run.
  2. How to Delete Read Only Files Picture 6How to Delete Read Only Files Picture 6
    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. How to Delete Read Only Files Picture 7How to Delete Read Only Files Picture 7
    Delete the file.
Method 3 of 4:

Delete Read Only Files in Mac OS X Using Finder

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

Delete Read Only Files in Mac OS X Using Terminal

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