Questions related to read-only devices or permissions.

learn more… | top users | synonyms

23
votes
6answers
143k views

How to fix “sudo: unable to open … Read-only file system”?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to ...
15
votes
3answers
45k views

Read Only usb stick that won't let me do anything to it

Somehow I messed up and accidentally made my usb stick into a read only file system. I have tried a bunch of things to delete the files, including the basic (rm -f myfile) and attempting to allow ...
10
votes
1answer
11k views

Install with sudo app-get install doesn't work, “Not using locking for read only file /var/lib/dpkg/lock”

I just installed Ubuntu Touch on my Nexus 7. Unfortunately I can't install anything from the terminal app: If I enter: sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev I ...
9
votes
2answers
60k views

How to mount a hard disk as read-only from the terminal

I have searched google, I've searched this website, I've searched using various terms, phrases, using quotes and without quotes and I cannot find the answer to this seemingly easy thing to do. How do ...
9
votes
1answer
12k views

Why does my NTFS partition mount as read only?

Until recently both my Windows Partition (C:) and my Data Partition (E:) would mount as read/write. Now both seem to only mount as read-only. GParted Resize (Error) ntfsresize v2.0.0 (libntfs ...
7
votes
1answer
20k views

Unable to mount filesystem as read-write in recovery mode

I deleted two unused user accounts. Now I am unable to login even into my own account. I rebooted in recovery mode in the root shell and tried to restore the back-up of /etc/passwd. However, the ...
7
votes
3answers
15k views

Read-only SD cards

I've got an IcyBox USB hub/card reader combo in my computer, running Ubuntu 12.10. It's got an issue with SD cards. It always mounts them read-only, regardless of the write-lock switch. This is ...
7
votes
4answers
28k views

Why has my file-system turned read-only after updates?

I'm running 11.10 and I applied some updates. After that whenever I use my computer, I can, but only for about 2 or 3 minutes before it becomes read-only. Any sudo command entered gives me the ...
7
votes
2answers
10k views

bind mounting read-only using fstab on Ubuntu?

I need to remount one directory (/src) as readonly in another location (/dst). This can be done like this: $ sudo mount --bind /src /dst $ sudo mount -o remount,ro /dst However, I would like to use ...
7
votes
1answer
3k views

Why LibreOffice keeps saying the document is locked for editing?

I created file LinuxNotes.odt some time ago and yesterday I edited that same file at my work place and I was in Guest account when I edited that file. Now whenever I open that file any where else ...
6
votes
4answers
32k views

How to delete/edit files from readonly filesystem

I am having problem with my memory device (actually a memory card that act external memory device like pendrive). experimentx@workmateX:/var/www/zendtest$ sudo rm ...
6
votes
1answer
3k views

How to create a read-only link to a directory?

One of my scripts dynamically creates a symlink like so: ln -s /home/hosting/projects/images /home/hosting/projects/demo/images How can I make it so that the access through link is read-only?
5
votes
1answer
5k views

Ubuntu goes into read-only mode randomly

For the last few days, my Ubuntu 12.10 has been going to read-only mode randomly, making me unable to save any edited files, and forcing me to restart my computer, which is a pain because this is the ...
5
votes
2answers
15k views

dpkg: error: unable to access dpkg status area: Read-only file system

I am a newbie in this operating system I installed Ubuntu 12.10 and I found it very interesting to use. Then once I install chromn from ubuntu software I got I/O Error After that I could not ...
4
votes
4answers
2k views

Libre office (read only) issue

I run ubuntu 10.04 with the latest version of LibreOffice (the one release the other day). When downloading a document - like something in excel in my firefox, and want to open it, it opens up in ...
4
votes
1answer
30k views

How to change “read-only” file at root prompt [duplicate]

Possible Duplicate: How do I change file system in Ubuntu11.10 recovery mode to read-write mode After blank screen, need to change some settings in xorg.conf Logged in at root prompt ...
4
votes
2answers
3k views

Ubuntu 12.04 SSD root frequent random read only file system

I really need your help. I've got Dell Inspiron 1545 with 8GB of RAM and Sandisk Extreme 240GB SSD. The disk is seperated into three partitions, /root, /swap - 8GB, /home blkid: /dev/sda1: ...
3
votes
3answers
809 views

defragmentation of ext2

Is it worth it? there is e2defrag. How long will it takes for 120GB? 8h will be enough? I would like to improve read/write on the hard disc. hard disc seems to be new(9 months old). its in my work ...
3
votes
4answers
12k views

Read only file system

I'm running Ubuntu 12.10, Upon opening any shell I get the following error: /home/jack/.rbenv/libexec/rbenv-init: line 87: cannot create temp file for here-document: Read-only file system I ...
3
votes
2answers
228 views

How do I make a drive write-protected or read-only in linux?

I have installed Ubuntu on my machine, I have Windows on a small ssd and I would like that ssd not visible, read-only, or write-protected while I am using linux as I do not want any mistakes to mess ...
3
votes
2answers
4k views

Unable to mount ISO in write mode

I tried to mount my Ubuntu 13.04 64-bit image using the following command : sudo mount -o rw,loop /home/varun/Downloads/ubuntu-13.04-desktop-amd64.iso /media/cdimage But I gets the following ...
3
votes
1answer
500 views

USB turn write protection off forced

I have a USB-flash device (SanDisk SDCZ33 BM120423519D) with no hardware switch, which is stuck in readonly mode: # hdparm /dev/sdf /dev/sdf: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 ...
3
votes
2answers
662 views

USB devices showing a read only

I have an 8gb FAT32 USB stick and a 500gb FAT32 HDD; both of these have suddenly become read only devices. I've tried deleting the directory inside /media and then creating it again, naming it, ...
3
votes
1answer
828 views

Mount a Device Read Only using Udisk w/ Python

So I am writing a python script that is attempting to use UDisk to mount and unmount devices. I'm using something like this: disk_dev_func = dbus.Interface(self.device_obj, ...
3
votes
2answers
3k views

USB flash drives being mounted read-only in 13.10

Ever since installing 13.10 (x64) every time I insert a USB flash drive, it mounts as read-only. I tried using three different drives, and they all get mounted read-only. They were working fine on ...
3
votes
2answers
4k views

Why does my root filesystem keep becoming read-only?

I've lately been having an issue with my root filesystem becoming readonly. It happens some amount of time after boot. I don't know exactly when it happens, as I don't usually notice it until ...
3
votes
1answer
6k views

How do I format or partition a read-only USB drive?

Whenever I try formatting my Sandisk Cruzer Glide 16GB, I get this error message on Gparted. GParted 0.11.0 --enable-libparted-dmraid Libparted 2.3 Create Primary Partition #1 (ntfs, 14.42 GiB) on ...
2
votes
3answers
19k views

Changing ownership of read-only file system

I did read the several posts available here on "changing ownership of read-only file systems" but they don't seem to help me. My external hard drive (which I had previously formatted in OS X and used ...
2
votes
1answer
53k views

How to Fix “Read-only file system” error when I run something as sudo and try to make a folder/file?

When I try to save something or rename a file/folder it say this error " Read-only file system" or run something as root in the terminal it say this error sudo: unable to open /var/lib/sudo/"My User ...
2
votes
1answer
2k views

Ubuntu LiveCD,editing xorg.conf

someone has edited wrongly my xorg.conf file in /etc/x11/xorg.conf and so my computer wont show anything,just a blank screen.I want to be able to edit the xorg.conf file and delete all the changes ...
2
votes
2answers
26k views

Unable to open /dev/sdb read-write (Read-only file system) [solved]

As in the title, I'm unable to format it as it says read-only. I've tried couple of searches and the solutions too. Even I tried GParted to see I have any luck. Unfortunately below is what I get. ...
2
votes
2answers
6k views

External HDD mounted as read only fat32

My Ubuntu machine has set my external HDD to read only. The drive is a 2TB That I have configured to fat32 so that almost everything can read/write to it. I know that from using the search box on this ...
2
votes
1answer
180 views

Why can't I write data to SD Card

I am about to upgrade hard drives and I was attempting to back up data to an SD card that I had used before flawlessly. The disks app said that it was read only, and when I put in a cat picture to ...
2
votes
1answer
476 views

How can I get all USB storage device to mount as read-only or offer no mount options at all?

These are the two parts of my query: Is there a way to mount all USB storage/flash/removable storage devices as read-only i.e. set the default mount policy to read-only? Back in Windows OS, I could ...
2
votes
1answer
894 views

Nexus 7 (4.2.2) stuck as read-only on Ubuntu 13.04 (PC)

I have a Nexus 7 running the latest Android (4.2.2) that seems to be stuck as read-only. I cannot transfer any files to or from the device though I am free to look through it. Permissions are: View ...
2
votes
0answers
317 views

13.04, Thinkpad x230, I/O Errors after 15-20 minutes working [closed]

After last update my system became behave strange. After 15-20 minutes all drives become read only. In terminal I get errors: I/O error, Bus error, disk is read only. I checked all my disks by ...
2
votes
0answers
343 views

How to fix Grub loader that hangs and waits for user with read only root partition?

I am trying to create a set of Ubuntu 12.04 slave systems that have a read only root partition and a small read/write partition mounted for a single user. These systems will be used for a short job ...
2
votes
0answers
879 views

Google Chrome causing file system to mount as read only

So disclaimer, I am using Lubuntu 12.04 but I'm almost certain it shouldn't make any difference. Earlier this week I resized my lubuntu partition on my harddrive with GParted to be 25 GBs smaller, ...
2
votes
1answer
7k views

“iso-mount seems to be mounted read-only” error in UCK 2.4.6 or 2.2.0

I need to use UCK on 12.04. If I use any version of UCK 2.4.6 or UCK 2.2.0, I am getting an error iso-mount seems to be mounted read-only. Can some one help to quickly sort this error? I need ...
1
vote
2answers
3k views

I'm stuck between 11.10 and 12.04 with only a read-only system

I went out of the room while I was trying to update from 11.10 to 12.04 LTS. When I came back, my laptop had gone into sleep mode. I assume that it was half way through updating something. The screen ...
1
vote
2answers
13k views

How to remount a read-only folder as readWrite?

Background: I need to edit a file which is read only, and its parent folder is also read only. This file is located at a remote appliance. Through ssh I logged in to this as admin and I have the ...
1
vote
1answer
543 views

How to extract archive or change permissions when there are “read-only file system” errors?

I am using Ubuntu 14.04 and having a problem changing the file permission of a .zip file. I can neither extract it nor change file permissions. When I extract it by command unzip ...
1
vote
1answer
104 views

ubuntu applications segfaults and filesystem remounts with readonly mode [closed]

i dropped a hard disk. after installing fresh kubuntu 12.04LTS applications keeps segfaulting and filesystem remounts with readonly mode. i checked hard disk for bad sectors but none are found. ...
1
vote
1answer
2k views

remounting as read/write — will I lose my data?

I need root access to install a file, but I seem to have forgotten my pw. To change it, it appears I will need to enter GRUB and remount / as read/write as suggested here. I just want to know if I ...
1
vote
1answer
128 views

File system went read only after adding ssh key

I followed this guide to set up ssh key on my digital ocean droplet, but since I made step 4 my file system went read-only. I changed /etc/ssh/sshd_config from PermitRootLogin yes to PermitRootLogin ...
1
vote
1answer
288 views

Macintosh HD will only mount ro, because it is journaled

A little history first, I've installed 14.04 on another partition of a MacBook 5.1 because of a completely botched Mavericks upgrade which has left OS X unusable. I had to use rEFInd to get it to ...
1
vote
2answers
541 views

The best way to create a root filesystem, split between read only and writable

My aim is to create a system where the main parts of the root filesystem are stored on a read-only SD card, with writeable parts located on an SSD set to rw. This is to be done with a view to keeping ...
1
vote
3answers
544 views

How can you delete a folder/file/etc. on a read only DVD+R?

I was trying to get my cd mounted (that problem got fixed), but I burned something to my cd as a test and now I can't get it off.
1
vote
1answer
733 views

13.10, mount works only in read-only mode

No success mounting a device in read-write mode. After plugging it in, it is mounted. $ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL NAME FSTYPE SIZE MOUNTPOINT LABEL sda ...
1
vote
3answers
3k views

Ext4 constantly mounts as read-only

I'm at a complete loss, here. After only using my computer for short periods of time (often less than a minute), my root partition (Ext 4, /dev/sda5) become read-only without warning. This happens ...