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
-
How to Delete Read Only Files Picture 1
Right-click the file in Windows Explorer. -
How to Delete Read Only Files Picture 2
Choose "Properties" from the drop-down menu. -
How to Delete Read Only Files Picture 3
Uncheck the box next to the "Read Only" option in the "Properties" menu.- If the box is checked and grayed out, either the file is in use or you don't have permission to change it.
- Quit any programs that are using the file. If needed, login as an administrator to gain permission to alter the file.
-
How 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
-
How 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. -
How to Delete Read Only Files Picture 6
Remove the Read Only attribute and set the System attribute. Type the following command:- attrib -r +s drive:
- For the test folder, for example, type attrib -r +s c:test
-
How to Delete Read Only Files Picture 7
Delete the file.
Method 3 of 4:
Delete Read Only Files in Mac OS X Using Finder
-
How to Delete Read Only Files Picture 8
Open Finder. Find the file that you want to delete and click to highlight it. -
How to Delete Read Only Files Picture 9
Click File at the top of the Finder menu, then select Get Info. -
How to Delete Read Only Files Picture 10
Select the "Privilege" option in the Sharing & Permissions section. -
How to Delete Read Only Files Picture 11
Click on the box next to "Owner." -
How to Delete Read Only Files Picture 12
Set the file to Read & Write status. -
How to Delete Read Only Files Picture 13
Delete the file
Method 4 of 4:
Delete Read Only Files in Mac OS X Using Terminal
-
How to Delete Read Only Files Picture 14
Select Applications > Utilities > Terminal. -
How 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. -
How 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. -
How to Delete Read Only Files Picture 17
Type chmod u+rwx "filename" to grant read, write and execute permissions. Close Terminal. -
How to Delete Read Only Files Picture 18
Find and delete the file.
4.1 ★ | 16 Vote
You should read it
- How to Delete Read-Only Files on Linux
- How to Make a File Read Only
- How to Delete Zip Files on PC or Mac
- What is the Desktop.ini file? How to hide and delete Desktop.ini file on Windows
- What is a .tmp file? How to open .tmp file on Windows computer?
- How to Delete Files That Cannot Be Deleted
- What are CBR and CBZ files? How to read CBR and CBZ files in Linux
- How to Restore Deleted Files in Windows XP
- Differences between PPT and PPS files (PPTX and PPSX)
- How to Delete a Locked File
- How to Delete a File in Microsoft Windows Using Batch Files
- How to completely delete a file in Linux so that it cannot be restored