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...
Table of Contents
Method 1 of 4:
Use the Properties Menu to Eliminate the Read Only Attribute
-
Right-click the file in Windows Explorer. -
Choose "Properties" from the drop-down menu. -
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.
-
Delete the file.
Method 2 of 4:
Use the Attrib Command to Turn Off the Read Only Attribute
-
Click Start and select Run. If you don't see the Run command, then click All Programs > Accessories > Run. -
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
-
Delete the file.
Method 3 of 4:
Delete Read Only Files in Mac OS X Using Finder
-
Open Finder. Find the file that you want to delete and click to highlight it. -
Click File at the top of the Finder menu, then select Get Info. -
Select the "Privilege" option in the Sharing & Permissions section. -
Click on the box next to "Owner." -
Set the file to Read & Write status. -
Delete the file
Method 4 of 4:
Delete Read Only Files in Mac OS X Using Terminal
-
Select Applications > Utilities > Terminal. -
Type cd . For example, if you want to adjust permissions for a file in your documents folder, then type cd Documents. -
Input the command ls -l to view the directory contents in long form. Permissions are displayed on the far left column. -
Type chmod u+rwx "filename" to grant read, write and execute permissions. Close Terminal. -
Find and delete the file.
4.1 ★ | 16 Vote
Read More
- Delete files on Mac directly without the Trash trash
- How to Delete DLL Files
- How to Delete Files That Cannot Be Deleted
- How to automatically delete Zip files after extracting on Mac
- How to delete, replace or edit links in PDF documents with PDF Link Editor
- How to delete 'iOS Files' which is taking up your Mac's memory?
- Guide to delete files not to delete, fix errors when deleting files
- How to read EPUB files on your computer, software to read EPUB files
- Top 5 applications to read DWG files on phones
- How to delete files and folders on Dropbox
- How to Delete Temporary Files and Delete Prefetch Files from Your Computer
- How to add trash to permanently delete files on Windows 10/11
- How to Read PDF Files on iPhone
- The simplest way to fix the problem of your computer not being able to read PDF files.