Questions related to read-only devices or permissions.

learn more… | top users | synonyms

45
votes
9answers
272k 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 ...
24
votes
1answer
30k 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 ...
23
votes
2answers
153k 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 ...
22
votes
3answers
65k 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 ...
11
votes
1answer
32k 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 ...
10
votes
1answer
17k 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 10:0:...
9
votes
4answers
33k 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, ...
9
votes
1answer
5k 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 ...
9
votes
1answer
9k 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 ...
8
votes
4answers
51k 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 /media/A88F-8788/python-2.7.1-...
8
votes
4answers
45k 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 ...
8
votes
3answers
26k 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 ...
8
votes
2answers
13k 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 ...
7
votes
1answer
6k 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?
7
votes
2answers
13k 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
2answers
25k 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 ...
7
votes
1answer
37k 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 through ...
5
votes
4answers
3k 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 read-...
4
votes
3answers
57k views

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

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. ...
4
votes
1answer
1k 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 ...
4
votes
2answers
4k 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: UUID="...
4
votes
4answers
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 13....
4
votes
1answer
10k 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 ...
3
votes
2answers
4k views

Read / Write permissions in /opt directory

I installed Android Studio in my /opt directory without a hitch and have been using it. Recently, though, Android Studio informed me of an update. It won't perform the update, however, because it says ...
3
votes
3answers
1k 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
2answers
21k 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 ...
3
votes
4answers
17k 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
1k 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
3answers
4k views

USB Disk stuck in read only after dd an ISO

This has probably been asked before but I have not been able to find it so I'll ask again. Here's what I did: sudo dd if=./windows.iso of=/dev/sdb #sdb is a 64gb USB disk Afterwards I was unable ...
3
votes
1answer
27k views

filesystem is “read only” even though `mount` lists it as “rw”

I'm not sure what happened, but right now all filesystems (expecpt for / which is on a separate drive) are "read only" even though mount lists them as "rw": $ mount /dev/sda1 on /media/Data type ext4 ...
3
votes
1answer
1k 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, "org.freedesktop.UDisks....
3
votes
4answers
28k views

How to edit read-only file in etc?

I'm a brand new user so I'm not sure of my way around the system yet. I want to change my computer's name, so I tried to edit the name in /etc/hostname, but it is a read-only file. Adding the '!' ...
3
votes
2answers
6k 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
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 ...
2
votes
1answer
86k 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
3answers
24k 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
2answers
2k 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 ...
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
1answer
11k views

NTFS disk is read-only and I can't change to read & write

I have used Windows 7 for a long time and thought to give Linux (Ubuntu) a try. I have two hard drives, one 120GB, other 1TB. First one is for OS and software, while the 1TB disk is for data and games....
2
votes
2answers
8k 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
489 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
31 views

Install linux-headers on nexus 7 2013 running ubuntu touch

I have installed ubuntu touch on my nexus 7 2013 recently, and have faced problem installing driver for Moxa Uport usb adapter. Actually the driver needs to be compilled and this is why I need linux ...
2
votes
1answer
92 views

All files and folders becomes “Read only”

All my files and folders shows lock symbol few minutes after I turn on my system and I cannot edit any of these files as it says cannot save: read only file system. However if I restart the system ...
2
votes
0answers
158 views

Hard drive errors - Ubuntu sometimes boots to busybox, then becomes read only [closed]

I have a issue with my home media server (OS ubuntu 14.04 LTS), where about 50% of the time I power it up, instead of booting into the os, I see the following: BusyBox v1.21.1 (ubuntu 1:1.21.0-...
2
votes
0answers
61 views

Can't go past the grub screen

I am going to preface this with the fact that I am extremely new to Ubuntu, so I don't know much. When I start up my computer it takes me to GNU GRUB version 2.02~beta2-9ubuntu1 Not knowing ...
2
votes
0answers
12k views

Disk '/dev/sdb' doesn't contain a valid partition table

I have installed Ubuntu on the USB stick and afterwards tried to clean up the disc to install another version of Ubuntu. I was not able to do it (even when tried to delete files by using sudo -rm), ...
2
votes
1answer
836 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
1k 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
356 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
391 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 ...