Questions related to read-only devices or permissions.

learn more… | top users | synonyms

8
votes
1answer
10k 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 ...
2
votes
1answer
52k 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 ...
6
votes
3answers
14k 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 ...
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 ...
0
votes
0answers
43 views

USB Write Protect Switch - how does Linux know?

I have a USB drive /dev/sdb, and inside sdb are some separate mount points ( /, /boot, and so on. ). I am running Ubuntu off the USB stick, just an FYI. I have a hardware write protect switch which ...
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 ...
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
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 ...
0
votes
0answers
43 views

I can't format a USB drive

It looks dead I have tried How to format a USB or external drive? Appreciate any help
1
vote
2answers
471 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
0answers
20 views

How to Recover Ubuntu default file system permissions [duplicate]

I made a big mistake.. When I trying to give some permissions to localhost project In terminal I typed 'sudo chmod -R 755 /' Now nothing work. I tried to fix this By this commands mount -o ...
1
vote
1answer
9k views

How to change read-only pendrive?

I have a generic pendrive with a problem... I can't copy to inside, delete or move any archive or folder from the pendrive. I don't know how this happens, I do not change any kind of permissions... ...
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 ...
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
2answers
187 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 ...
0
votes
0answers
1k views

EXT4-fs errors and sd errors. Rejecting I/O to offline device

System Configuration: Ubuntu 12.04 server 64bit HP Proliant dl140 g3 32gb of RAM Intel X5365 quad core 3GHz LSI SAS1068 2x WD black 2TB SATA HDDs in RAID 1 Errors: [ 2044.430919] EXT4-fs (sda1): ...
0
votes
1answer
25 views

How can I change the mode of Sqlite Database?

I want to add some record in my database it is read_only by default, how I can change its mode to add the record. I want some linux command, I was trying gfix but it failed to execute.
1
vote
2answers
9k views

HFS+ hard drive being mounted as read only

This is a recurring problem and occurs a few times a week. I have an external hard drive which is hfs+. Every couple of weeks, for no obviuous reason, when I mount it by pluggin it in to my Ubuntu ...
2
votes
1answer
163 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 ...
0
votes
2answers
208 views

Thumb drive suddenly “read only file system”

I just downloaded and installed 14.04 to replace a xubuntu 14.10 that has been crashing on every reboot. Now, with nothing else installed, I copied about 2 gig of pictures, files, etc onto a thumb ...
1
vote
2answers
252 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
2answers
495 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, ...
1
vote
2answers
512 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 '!' ...
1
vote
0answers
99 views

Fat32 mounting as read only

I've edited my /etc/fstab to contain the following: UUID=F285-17E1 /media/TV-1 vfat rw 0 0 UUID=6CBA-1DEC /media/TV-2 vfat rw 0 0 UUID=7D3B-170D /media/TV-3 vfat rw 0 0 UUID=BBFF-1EE4 ...
3
votes
1answer
473 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 ...
1
vote
1answer
115 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 ...
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 ...
0
votes
1answer
32 views

User folder accidently relocated, don't have permissions to move it back [duplicate]

Thanks to a rashly typed mv command and my inexperience in installing LaTeX packages, I managed to move my user folder--let's call it /home/bob for the purposed of not revealing my name--somewhere ...
0
votes
0answers
32 views

Mount disk with write permissions but leave it untouched

I have a raw image that I would like to mount to my system (Ubuntu 12). The problem is that I don't want to write anything to the disk itself, so the raw image will stay as it was before mounted. I ...
0
votes
0answers
203 views

Can't write to external hard drive

I can't write to my external hard drive. It was formatted using bootcamp on a mac. Now I'm trying to paste files into the hard drive and I'm using Ubuntu. I can't paste anything on the hard drive. The ...
-1
votes
1answer
135 views

How do I fix a bad /etc/fstab if the hard disk read-only?

I had created a bootable hackintosh usb stick but I found that I had a problem that could be solved by renaming a file or editing another. But the usb stick was read only and, in a moment of ...
0
votes
1answer
86 views

Mounting drive not getting full access

I am having problem with mounting.. I bought iOmega Storage box ix200. I shared a folder from iOmega box for 10 users. I mounted this shared drive in all 10 Virtual machines by editing /etc/fstab ...
6
votes
4answers
31k 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 ...
0
votes
3answers
864 views

My microSD mounted read-only

I know this question has been asked a lot. I've tried all the solutions, such as formatting, reboot, remount, etc. But my microSD still read-only. I have partitioned my Micro SD into 2 partitions and ...
0
votes
0answers
101 views

Updating apns-conf.xml on Ubuntu Touch RTM

I am trying out the rtm-ubuntu-14.09 r1 and need to update my /system/etc/apns-conf.xml file (or create a new one in /custom/etc/) to make it work with Tele2 Sweden. I have the apn settings, because I ...
0
votes
0answers
55 views

How can I prevent configuration changes to a specific user account?

Edit: Just to be clear, this isn't going to be a web kiosk. The user will be able to run more programs than just a browser. At very least, some text editor and a few other programs which are already ...
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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
49 views

Reformat a freebie USB stick that thinks it is a CDROM

I received a USB pen drive at a conference recently, containing presentations and the like. I would like to reformat it for personal use, but every computer I put it in sees it as if it were a CD-ROM. ...
1
vote
1answer
267 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 ...
0
votes
0answers
80 views

Computer randomly wen't into read only filesystem

I was just typing in AbiWord and opened up the filesystem and realized everything had the 'lock' image over it. So I opened the terminal to run an update to see if everything was alright and just as I ...
0
votes
1answer
257 views

Getting read-only file system after install Lubuntu 14.04

Sorry for my bad English. I am unable to use Ubuntu/Lubuntu after a fresh installation. Few seconds after boot the system is turned read-only. Previous searches indicates a bug with wubi in 14.04 ...
2
votes
2answers
24k 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. ...
0
votes
0answers
480 views

Using OverlayFS to enable writing on a read only /etc

Is it a terribly bad idea to create a union mount, using OverlayFS, on top of /etc? I'm aiming to set up a system whereby a read-only root filesystem is installed on an SD card, with writeable areas ...
1
vote
0answers
105 views

Read-only filesystem Recovery Mode not working

I have seen other posts of this before, but they didn't help. In short, today I was trying to play Colobot on my Ubuntu Trusty computer, when I tried to access the directory the game was in by ...
22
votes
6answers
138k 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 ...
1
vote
0answers
88 views

Secondary SSD stuck as read only

I am having trouble getting my second SSD to work with Linux. I recently switched from Windows to Ubuntu 14.04 and I am still learning Linux. I can see my second drive under Devices in the File ...
1
vote
1answer
486 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 ...
0
votes
1answer
647 views

[Errno 30]Read-only file system: '/target/boot/vmlinuz-3.13.0-24-generic'

I am fairly new to Ubuntu and I am trying to install 14.04 on my laptop. The laptop wasn't really working and only boots with Ubuntu CD. I don't care for any files or anything on the computer, I just ...
0
votes
0answers
19 views

My ext HHD is READ-ONLY! Posted attempts to correct same confused me and made matters worst! [duplicate]

I am using Ubuntu 14 LTS. I am having issues using my VERBATIM 1TB external HHD. It keeps mounting as READ-ONLY!. I can use it in WINDOWS but when I attempt to load ANYTHING on it in Ubuntu it will ...