What is a read-only file system

When you have this error, it means that your system has by default, a line in /etc/fstab which indicates that if there is an error in the file system, that it should go into read-only mode, to prevent further corruption or dataloss.

You could use lsblk to determine the partition name.

Use the command

sudo fsck -f /dev/sdxx

where “sdxx” is the partition of the hard drive that Linux resides on

Making a file read-only in Windows means you or a colleague are less likely to delete or change it accidentally. This can be helpful if you don't want any unintended changes to client contracts or business invoices. If you need to save changes you can turn off the attribute temporarily, so the protection is limited. Changing a folder's read-only status is less straightforward because Windows Explorer uses the read-only flag to determine if the folder is a system or other special folder, or is customized. Recent versions of Windows, therefore, don't allow you to see or change the read-only attribute of folders in Windows Explorer.

Read-only Files

  1. Open Windows Explorer and navigate to the file you want to edit.

  2. Right-click the file name and select "Properties."

  3. Select the "General" tab and clear the "Read-only" check box to remove the read-only attribute or select the check the box to set it. Click "OK" to save your changes.

Read-only Folders

  1. Click the Windows "Start" button and type "cmd" in the Search field.

  2. Press "Enter" to open the command window.

  3. Type the following command to remove the read-only attribute from a folder:

    attrib -r drive:\path\foldername

    Press "Enter," replacing "drive," "path" and "foldername" with the full path to the folder you want to change. Use the equivalent command, replacing "-r" with "+r" to set the folder to read-only.

  4. Type "exit" and press "Enter" to close the command window.

{"appState":{"pageLoadApiCallsStatus":true},"articleState":{"article":{"headers":{"creationTime":"2016-03-26T19:42:57+00:00","modifiedTime":"2016-03-26T19:42:57+00:00","timestamp":"2022-09-14T18:08:29+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"//dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Computers","_links":{"self":"//dummies-api.dummies.com/v2/categories/33513"},"slug":"computers","categoryId":33513},{"name":"PCs","_links":{"self":"//dummies-api.dummies.com/v2/categories/33536"},"slug":"pcs","categoryId":33536}],"title":"How to Change the Read-Only Attribute on Files and Folders","strippedTitle":"how to change the read-only attribute on files and folders","slug":"how-to-change-the-read-only-attribute-on-files-and-folders","canonicalUrl":"","seo":{"metaDescription":"Read-only is a file attribute, or a characteristic that the operating system assigns to a file. In this case, read-only means that the file can be only opened o","noIndex":0,"noFollow":0},"content":"<p>Read-only is a file <i>attribute,</i> or a characteristic that the operating system assigns to a file. In this case, <i>read-only</i> means that the file can be only opened or read; you cannot delete, change, or rename any file that’s been flagged read-only.</p>\n<p>To change the read-only attribute, follow these steps:</p>\n<ol class=\"level-one\">\n <li><p class=\"first-para\">Right-click the file or folder icon.</p>\n </li>\n <li><p class=\"first-para\">Remove the check mark by the Read Only item in the file’s Properties dialog box.</p>\n<p class=\"child-para\">The attributes are found at the bottom of the General tab.</p>\n </li>\n <li><p class=\"first-para\">Click OK.</p>\n </li>\n</ol>\n<p>Likewise, you can set the read-only attribute by placing a check mark in the box. This ensures that the file cannot be changed or deleted. Well, it can’t be changed or deleted until someone removes the read-only attribute again.</p>\n<ul class=\"level-one\">\n <li><p class=\"first-para\">Files and folders you copy from an optical disc may inherit the read-only status. That’s because a CD-ROM or DVD-ROM is Read-Only (RO) media. After a file is copied from the optical disc, however, you can change its read-only status as described in the steps.</p>\n </li>\n <li><p class=\"first-para\">The solid Read-Only check box in Windows 7 and Windows Vista refers to the file’s or folder’s permissions. The box may indicate that read-only permissions are set for other users on the same computer.</p>\n </li>\n</ul>","description":"<p>Read-only is a file <i>attribute,</i> or a characteristic that the operating system assigns to a file. In this case, <i>read-only</i> means that the file can be only opened or read; you cannot delete, change, or rename any file that’s been flagged read-only.</p>\n<p>To change the read-only attribute, follow these steps:</p>\n<ol class=\"level-one\">\n <li><p class=\"first-para\">Right-click the file or folder icon.</p>\n </li>\n <li><p class=\"first-para\">Remove the check mark by the Read Only item in the file’s Properties dialog box.</p>\n<p class=\"child-para\">The attributes are found at the bottom of the General tab.</p>\n </li>\n <li><p class=\"first-para\">Click OK.</p>\n </li>\n</ol>\n<p>Likewise, you can set the read-only attribute by placing a check mark in the box. This ensures that the file cannot be changed or deleted. Well, it can’t be changed or deleted until someone removes the read-only attribute again.</p>\n<ul class=\"level-one\">\n <li><p class=\"first-para\">Files and folders you copy from an optical disc may inherit the read-only status. That’s because a CD-ROM or DVD-ROM is Read-Only (RO) media. After a file is copied from the optical disc, however, you can change its read-only status as described in the steps.</p>\n </li>\n <li><p class=\"first-para\">The solid Read-Only check box in Windows 7 and Windows Vista refers to the file’s or folder’s permissions. The box may indicate that read-only permissions are set for other users on the same computer.</p>\n </li>\n</ul>","blurb":"","authors":[{"authorId":9003,"name":"Dan Gookin","slug":"dan-gookin","description":" <p><b>Dan Gookin</b> wrote the very first <i>For Dummies</i> book in 1991. With more than 11 million copies in print, his books have been translated into 32 languages. <i>PCs For Dummies,</i> now in its 12th edition, is the bestselling beginning PC book in the world. Dan offers tips, games, and fun at www.wambooli.com. ","hasArticle":false,"_links":{"self":"//dummies-api.dummies.com/v2/authors/9003"}}],"primaryCategoryTaxonomy":{"categoryId":33536,"title":"PCs","slug":"pcs","_links":{"self":"//dummies-api.dummies.com/v2/categories/33536"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":null,"inThisArticle":[],"relatedArticles":{"fromBook":[],"fromCategory":[{"articleId":283471,"title":"Laptop Keyboards","slug":"laptop-keyboards","categoryList":["technology","computers","pcs"],"_links":{"self":"//dummies-api.dummies.com/v2/articles/283471"}},{"articleId":245446,"title":"How to Create the System Image for Your Windows PC","slug":"create-system-image-windows-pc","categoryList":["technology","computers","pcs"],"_links":{"self":"//dummies-api.dummies.com/v2/articles/245446"}},{"articleId":245443,"title":"Browsing File History","slug":"browsing-file-history","categoryList":["technology","computers","pcs"],"_links":{"self":"//dummies-api.dummies.com/v2/articles/245443"}},{"articleId":245440,"title":"Recovering an Older Version of a File with File History","slug":"recovering-older-version-file-file-history","categoryList":["technology","computers","pcs"],"_links":{"self":"//dummies-api.dummies.com/v2/articles/245440"}},{"articleId":245437,"title":"How to Select Folders for Backup on Your PC","slug":"select-folders-backup-pc","categoryList":["technology","computers","pcs"],"_links":{"self":"//dummies-api.dummies.com/v2/articles/245437"}}]},"hasRelatedBookFromSearch":true,"relatedBook":{"bookId":281811,"slug":"pcs-for-dummies-13th-edition","isbn":"9781119041771","categoryList":["technology","computers","pcs"],"amazon":{"default":"//www.amazon.com/gp/product/1119041775/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"//www.amazon.ca/gp/product/1119041775/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"//www.tkqlhce.com/click-9208661-13710633?url=//www.chapters.indigo.ca/en-ca/books/product/1119041775-item.html&cjsku=978111945484","gb":"//www.amazon.co.uk/gp/product/1119041775/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"//www.amazon.de/gp/product/1119041775/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"//catalogimages.wiley.com/images/db/jimages/9781119041771.jpg","width":250,"height":350},"title":"PCs For Dummies","testBankPinActivationLink":"","bookOutOfPrint":false,"authorsInfo":"\n <p><p><b><b data-author-id=\"9003\">Dan Gookin</b></b> wrote the very first For Dummies book in 1991. The author of several bestsellers, Dan&#8217;s books have been translated into 32 languages and have more than 11 million copies in print. Dan is the bestselling author of all editions of <i>PCs For Dummies</i> and <i>Laptops For Dummies</i>.</p></p>","authors":[{"authorId":9003,"name":"Dan Gookin","slug":"dan-gookin","description":" <p><b>Dan Gookin</b> wrote the very first For Dummies book in 1991. The author of several bestsellers, Dan&#8217;s books have been translated into 32 languages and have more than 11 million copies in print. Dan is the bestselling author of all editions of <i>PCs For Dummies</i> and <i>Laptops For Dummies</i>.</p> ","hasArticle":false,"_links":{"self":"//dummies-api.dummies.com/v2/authors/9003"}}],"_links":{"self":"//dummies-api.dummies.com/v2/books/281811"}},"collections":[],"articleAds":{"footerAd":"<div class=\"du-ad-region row\" id=\"article_page_adhesion_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_adhesion_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;pcs&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-6322189d52734\"></div></div>","rightAd":"<div class=\"du-ad-region row\" id=\"article_page_right_ad\"><div class=\"du-ad-unit col-md-12\" data-slot-id=\"article_page_right_ad\" data-refreshed=\"false\" \r\n data-target = \"[{&quot;key&quot;:&quot;cat&quot;,&quot;values&quot;:[&quot;technology&quot;,&quot;computers&quot;,&quot;pcs&quot;]},{&quot;key&quot;:&quot;isbn&quot;,&quot;values&quot;:[null]}]\" id=\"du-slot-6322189d52f9f\"></div></div>"},"articleType":{"articleType":"Articles","articleList":null,"content":null,"videoInfo":{"videoId":null,"name":null,"accountId":null,"playerId":null,"thumbnailUrl":null,"description":null,"uploadDate":null}},"sponsorship":{"sponsorshipPage":false,"backgroundImage":{"src":null,"width":0,"height":0},"brandingLine":"","brandingLink":"","brandingLogo":{"src":null,"width":0,"height":0},"sponsorAd":"","sponsorEbookTitle":"","sponsorEbookLink":"","sponsorEbookImage":{"src":null,"width":0,"height":0}},"primaryLearningPath":"Solve","lifeExpectancy":null,"lifeExpectancySetFrom":null,"dummiesForKids":"no","sponsoredContent":"no","adInfo":"","adPairKey":[]},"status":"publish","visibility":"public","articleId":184222},"articleLoadedStatus":"success"},"listState":{"list":{},"objectTitle":"","status":"initial","pageType":null,"objectId":null,"page":1,"sortField":"time","sortOrder":1,"categoriesIds":[],"articleTypes":[],"filterData":{},"filterDataLoadedStatus":"initial","pageSize":10},"adsState":{"pageScripts":{"headers":{"timestamp":"2022-10-18T10:50:01+00:00"},"adsId":0,"data":{"scripts":[{"pages":["all"],"location":"header","script":"<!--Optimizely Script-->\r\n<script src=\"//cdn.optimizely.com/js/10563184655.js\"></script>","enabled":false},{"pages":["all"],"location":"header","script":"<!-- comScore Tag -->\r\n<script>var _comscore = _comscore || [];_comscore.push({ c1: \"2\", c2: \"15097263\" });(function() {var s = document.createElement(\"script\"), el = document.getElementsByTagName(\"script\")[0]; s.async = true;s.src = (document.location.protocol == \"\" ? \"//sb\" : \"//b\") + \".scorecardresearch.com/beacon.js\";el.parentNode.insertBefore(s, el);})();</script><noscript><img src=\"//sb.scorecardresearch.com/p?c1=2&c2=15097263&cv=2.0&cj=1\" /></noscript>\r\n<!-- / comScore Tag -->","enabled":true},{"pages":["all"],"location":"footer","script":"<!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->\r\n<script type='text/javascript'>\r\n(function(){var g=function(e,h,f,g){\r\nthis.get=function(a){for(var a=a+\"=\",c=document.cookie.split(\";\"),b=0,e=c.length;b<e;b++){for(var d=c[b];\" \"==d.charAt(0);)d=d.substring(1,d.length);if(0==d.indexOf(a))return d.substring(a.length,d.length)}return null};\r\nthis.set=function(a,c){var b=\"\",b=new Date;b.setTime(b.getTime()+6048E5);b=\"; expires=\"+b.toGMTString();document.cookie=a+\"=\"+c+b+\"; path=/; \"};\r\nthis.check=function(){var a=this.get(f);if(a)a=a.split(\":\");else if(100!=e)\"v\"==h&&(e=Math.random()>=e/100?0:100),a=[h,e,0],this.set(f,a.join(\":\"));else return!0;var c=a[1];if(100==c)return!0;switch(a[0]){case \"v\":return!1;case \"r\":return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(\":\")),!c}return!0};\r\nthis.go=function(){if(this.check()){var a=document.createElement(\"script\");a.type=\"text/javascript\";a.src=g;document.body&&document.body.appendChild(a)}};\r\nthis.start=function(){var t=this;\"complete\"!==document.readyState?window.addEventListener?window.addEventListener(\"load\",function(){t.go()},!1):window.attachEvent&&window.attachEvent(\"onload\",function(){t.go()}):t.go()};};\r\ntry{(new g(100,\"r\",\"QSI_S_ZN_5o5yqpvMVjgDOuN\",\"//zn5o5yqpvmvjgdoun-wiley.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_5o5yqpvMVjgDOuN\")).start()}catch(i){}})();\r\n</script><div id='ZN_5o5yqpvMVjgDOuN'><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>\r\n<!--END WEBSITE FEEDBACK SNIPPET-->","enabled":false},{"pages":["all"],"location":"header","script":"<!-- Hotjar Tracking Code for //www.dummies.com -->\r\n<script>\r\n (function(h,o,t,j,a,r){\r\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\r\n h._hjSettings={hjid:257151,hjsv:6};\r\n a=o.getElementsByTagName('head')[0];\r\n r=o.createElement('script');r.async=1;\r\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\r\n a.appendChild(r);\r\n })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');\r\n</script>","enabled":false},{"pages":["article"],"location":"header","script":"<!-- //Connect Container: dummies --> <script src=\"//get.s-onetag.com/bffe21a1-6bb8-4928-9449-7beadb468dae/tag.min.js\" async defer></script>","enabled":true},{"pages":["homepage"],"location":"header","script":"<meta name=\"facebook-domain-verification\" content=\"irk8y0irxf718trg3uwwuexg6xpva0\" />","enabled":true},{"pages":["homepage","article","category","search"],"location":"footer","script":"<!-- Facebook Pixel Code -->\r\n<noscript>\r\n<img height=\"1\" width=\"1\" src=\"//www.facebook.com/tr?id=256338321977984&ev=PageView&noscript=1\"/>\r\n</noscript>\r\n<!-- End Facebook Pixel Code -->","enabled":true}]}},"pageScriptsLoadedStatus":"success"},"navigationState":{"navigationCollections":[{"collectionId":287568,"title":"BYOB (Be Your Own Boss)","hasSubCategories":false,"url":"/collection/for-the-entry-level-entrepreneur-287568"},{"collectionId":293237,"title":"Be a Rad Dad","hasSubCategories":false,"url":"/collection/be-the-best-dad-293237"},{"collectionId":294090,"title":"Contemplating the Cosmos","hasSubCategories":false,"url":"/collection/theres-something-about-space-294090"},{"collectionId":287563,"title":"For Those Seeking Peace of Mind","hasSubCategories":false,"url":"/collection/for-those-seeking-peace-of-mind-287563"},{"collectionId":287570,"title":"For the Aspiring Aficionado","hasSubCategories":false,"url":"/collection/for-the-bougielicious-287570"},{"collectionId":291903,"title":"For the Budding Cannabis Enthusiast","hasSubCategories":false,"url":"/collection/for-the-budding-cannabis-enthusiast-291903"},{"collectionId":291934,"title":"For the Exam-Season Crammer","hasSubCategories":false,"url":"/collection/for-the-exam-season-crammer-291934"},{"collectionId":287569,"title":"For the Hopeless Romantic","hasSubCategories":false,"url":"/collection/for-the-hopeless-romantic-287569"},{"collectionId":287567,"title":"For the Unabashed Hippie","hasSubCategories":false,"url":"/collection/for-the-unabashed-hippie-287567"},{"collectionId":292186,"title":"Just DIY It","hasSubCategories":false,"url":"/collection/just-diy-it-292186"}],"navigationCollectionsLoadedStatus":"success","navigationCategories":{"books":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/books/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/books/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/books/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/books/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/books/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/books/level-0-category-0"}},"articles":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/articles/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/articles/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/articles/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/articles/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/articles/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/articles/level-0-category-0"}}},"navigationCategoriesLoadedStatus":"success"},"searchState":{"searchList":[],"searchStatus":"initial","relatedArticlesList":[],"relatedArticlesStatus":"initial"},"routeState":{"name":"Article3","path":"/article/technology/computers/pcs/how-to-change-the-read-only-attribute-on-files-and-folders-184222/","hash":"","query":{},"params":{"category1":"technology","category2":"computers","category3":"pcs","article":"how-to-change-the-read-only-attribute-on-files-and-folders-184222"},"fullPath":"/article/technology/computers/pcs/how-to-change-the-read-only-attribute-on-files-and-folders-184222/","meta":{"routeType":"article","breadcrumbInfo":{"suffix":"Articles","baseRoute":"/category/articles"},"prerenderWithAsyncData":true},"from":{"name":null,"path":"/","hash":"","query":{},"params":{},"fullPath":"/","meta":{}}},"dropsState":{"submitEmailResponse":false,"status":"initial"},"sfmcState":{"status":"initial"},"profileState":{"auth":{},"userOptions":{},"status":"success"}}

Read-only is a file attribute, or a characteristic that the operating system assigns to a file. In this case, read-only means that the file can be only opened or read; you cannot delete, change, or rename any file that’s been flagged read-only.

To change the read-only attribute, follow these steps:

  1. Right-click the file or folder icon.

  2. Remove the check mark by the Read Only item in the file’s Properties dialog box.

    The attributes are found at the bottom of the General tab.

  3. Click OK.

Likewise, you can set the read-only attribute by placing a check mark in the box. This ensures that the file cannot be changed or deleted. Well, it can’t be changed or deleted until someone removes the read-only attribute again.

  • Files and folders you copy from an optical disc may inherit the read-only status. That’s because a CD-ROM or DVD-ROM is Read-Only (RO) media. After a file is copied from the optical disc, however, you can change its read-only status as described in the steps.

  • The solid Read-Only check box in Windows 7 and Windows Vista refers to the file’s or folder’s permissions. The box may indicate that read-only permissions are set for other users on the same computer.

Toplist

Latest post

TAGs